NatTable Project – Maven error

By Posted in - Eclipse & co. on November 25th, 2014 0 Comments

When trying to pull and build the NatTable Project from Eclipse, you might encounter a strange exception when cleaning with Maven in Eclipse (meaning mvn -f [path to pom] clean install)

Exception in thread "main" java.lang.NoSuchMethodError:
org.apache.maven.execution.MavenSession.getRepositorySession()Lorg/sonatype/aether/RepositorySystemSession;

The thing is, the NatTable project seems to have configured the Tycho build extension in a version which is not compatible with Maven 3.1. Your quickest solution would be to downgrade your local Maven installation to 3.0.5.

Enjoy!

Please leave a Comment

Solve : *
24 ⁄ 2 =