Gradle PMD插件*有时*无法找到SAXParserFactoryImpl

时间:2013-03-21 01:59:21

标签: gradle pmd

在使用PMD插件运行gradle构建时,有时会发生这种情况,但并非总是如此。

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all dependencies for configuration ':subproject:pmd'.
> Could not resolve net.sourceforge.pmd:pmd:5.0.2.
  Required by:
      XYZ:subproject:1.0b5.3625
   > Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found
   > Could not resolve org.sonatype.oss:oss-parent:7.
      > Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found
      > Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found

我不知道如何推进这个短暂的问题。有线索吗?

0 个答案:

没有答案
相关问题