Translate

August 7, 2013

ClassNotFoundException org.sonatype.aether.*

Maven changed Aether in version 3.1

If you have moved to maven 3.1 you may get this error:
 java.lang.NoClassDefFoundError: org/sonatype/aether/*   
 Caused by: java.lang.ClassNotFoundException: org.sonatype.aether.*  

This is due to maven changing from Sonatype Aether to Eclipse Aether in the core. See release notes.
Some plugins are not updated yet. See the list on the maven wiki page.

If you have some custom plugins, they also may have the same problem. 
The only solution I found so far is to go back to Maven 3.0.x.


For more information

You can contact us at OSnode.

No comments:

Post a Comment