Question

I was trying to build eclipse plug-in using Tycho and while executing following command

mvn org.codehaus.tycho:maven-tycho-plugin:generate-poms -DgroupId=tycho.demo -Dtycho.targetPlatform=D:\practice\java\eclipse_galilio

I got error like

java.lang.NoSuchMethodError: org.codehaus.plexus.PlexusContainer.lookup(Ljava/lang/Class;)Ljava/lang/Object;

can anyone tell me what should be done to resolve this error. I am stuck at this point and not able to proceed.

Was it helpful?

Solution

What version of maven are you running? Tycho requires Maven 3. I can get that error trying to run on maven 2.1.0.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top