java.lang.ClassNotFoundException: org.sonatype.aether.version.InvalidVersionSpecificationException

后端 未结 2 1538
我在风中等你
我在风中等你 2020-12-31 01:38

I am using the maven indexer to fetch the maven index from the maven central repository. Since I updated from org.sonatype.aether to org.eclipse.aether and from maven 3.0.5

相关标签:
2条回答
  • 2020-12-31 02:20

    Use a later version of maven-dependency-plugin.

    <plugin>
        <artifactId>maven-dependency-plugin</artifactId>
        <version>2.8</version>
        .... your configuration here ....
    </plugin>
    
    0 讨论(0)
  • 2020-12-31 02:36

    This error is caused by the Maven 3.1-alpha-1 migration from Sonatype Aether to Eclipse Aether, which is an incompatible change for some plugins.

    To support this change, new versions of the affected plugins have been published which work both with Maven 3.0.x and 3.1.x. A list of affected plug-ins and their minimum needed version is available at https://cwiki.apache.org/confluence/display/MAVEN/AetherClassNotFound

    0 讨论(0)
提交回复
热议问题