解决maven运行site:site的时候出现org/sonatype/aether/graph/DependencyFilter ClassNotFound的问题

今天在配置项目的site,运行之后出现:

[WARNING] Error injecting: org.apache.maven.reporting.exec.DefaultMavenReportExecutor
java.lang.NoClassDefFoundError: org/sonatype/aether/graph/DependencyFilter
	at java.lang.Class.getDeclaredConstructors0(Native Method)
	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2416)
	at java.lang.Class.getDeclaredConstructors(Class.java:1855)
	at com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:245)
google了下,把maven-site-plugin从3.0升级到3.3+

相关maven插件的解决问题方案:

https://cwiki.apache.org/confluence/display/MAVEN/AetherClassNotFound

你可能感兴趣的:(解决maven运行site:site的时候出现org/sonatype/aether/graph/DependencyFilter ClassNotFound的问题)