Hi thanks for your response but its not that. I have Java 1.5 installed and JAVA_HOME pointing to it, with no other versions of Java installed on my machine. Andy
On 05/10/06, Dirk Olmes <[EMAIL PROTECTED]> wrote:
Andrew Birchall wrote: > Hi, I tried what you said but I'm still getting the same thing. > I tried it with -U first and it reported that it couldn't find the > eclipse plugin. > I then deleted my entire local repository and ran mvn eclipse:eclipse > but it still came up with the same error. i.e: > > java.lang.NoSuchMethodError: > org.apache.maven.artifact.factory.ArtifactFactory.c > reateDependencyArtifact > > I have the latest maven-eclipse-plugin-2.2.jar in my repository. > Hmm... I'm very confused and frustrated, > Andy Very strange things happen when your JAVA_HOME points to a different java installation than the one that's running. In my case that was JAVA_HOME pointing to a java 1.4 installation when the java.exe that was running was a java 5 one. Could that be your problem? -dirk --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
