在使用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
我不知道如何推进这个短暂的问题。有线索吗?