You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Curtis, Harrison (Bud)" <ha...@verizonbusiness.com> on 2008/05/12 20:35:03 UTC

Problems with Maven Eclipse Plugin

This may be the wrong place to ask this question, if so please advise
where the issue should be reported.

When Eclipse starts up I encounter the following error:
___________
5/12/08 12:11:07 PM MDT: Downloaded [central] ->
http://repo1.maven.org/maven2/.index/nexus-maven-repository-index.zip
5/12/08 12:11:08 PM MDT: Unable to update index for central
http://repo1.maven.org/maven2/
___________

However, I have no problem using the same URL in my browser to download
the nexus-maven-repository-index.zip.

Then when I attempt to build (The POM has an ant generate-sources phase
to generate using JAXB some source) with in Eclipse I get the following
errors reported:

___________
5/12/08 12:28:14 PM MDT: [INFO] Executing tasks
5/12/08 12:28:14 PM MDT: [FATAL ERROR]
org.apache.maven.plugin.antrun.AntRunMojo#execute() caused a linkage
error (java.lang.NoSuchMethodError) and may be out-of-date. Check the
realms:
5/12/08 12:28:14 PM MDT: [FATAL ERROR] Plugin realm =
/plugins/org.apache.maven.plugins:maven-antrun-plugin:1.1@48/thread:Work
er-10
urls[0] =
file:/C:/Documents%20and%20Settings/harrison.curtis/.m2/repository/org/a
pache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar
urls[1] =
file:/C:/Documents%20and%20Settings/harrison.curtis/.m2/repository/org/c
odehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
urls[2] =
file:/C:/Documents%20and%20Settings/harrison.curtis/.m2/repository/junit
/junit/3.8.1/junit-3.8.1.jar
urls[3] =
file:/C:/Documents%20and%20Settings/harrison.curtis/.m2/repository/ant/a
nt/1.6.5/ant-1.6.5.jar
urls[4] =
file:/C:/Documents%20and%20Settings/harrison.curtis/.m2/repository/ant/a
nt-launcher/1.6.5/ant-launcher-1.6.5.jar
5/12/08 12:28:14 PM MDT: [FATAL ERROR] Container realm = plexus.core

5/12/08 12:28:14 PM MDT: ERROR mojo-execute : antrun:run :
org.apache.maven.settings.Settings.setRuntimeInfo(Lorg/apache/maven/sett
ings/RuntimeInfo;)V
5/12/08 12:28:14 PM MDT: Build error for /SSRListener/pom.xml;
java.lang.NoSuchMethodError:
org.apache.maven.settings.Settings.setRuntimeInfo(Lorg/apache/maven/sett
ings/RuntimeInfo;)V
___________

If I run Maven outside of Eclipse it runs fine with no error.  Can
someone suggest what the problem is.   

Harrison (Bud) Curtis
Verizon Business
harrison.curtis@verizonbusiness.com
V622-4098 719/535-4098


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Problems with Maven Eclipse Plugin

Posted by Jeff Berkowitz <pd...@gmail.com>.
Interesting.  I just sent mail to codehaus' alias for the netbeans Maven
plugin (mevenide) saying I couldn't get it to work.  It was working last
week, but now gives me:

[FATAL]org.jvnet.hudson.maven.plugins.hpi.AptMojo#execute() caused a linkage
error (java.lang.NoClassDefFoundError) and may be out-of-date. Check the
realms:

Followed by 50 or so URLs.

On Mon, May 12, 2008 at 11:35 AM, Curtis, Harrison (Bud) <
harrison.curtis@verizonbusiness.com> wrote:

> This may be the wrong place to ask this question, if so please advise
> where the issue should be reported.
>
> When Eclipse starts up I encounter the following error:
> ___________
> 5/12/08 12:11:07 PM MDT: Downloaded [central] ->
> http://repo1.maven.org/maven2/.index/nexus-maven-repository-index.zip
> 5/12/08 12:11:08 PM MDT: Unable to update index for central
> http://repo1.maven.org/maven2/
> ___________
>
> However, I have no problem using the same URL in my browser to download
> the nexus-maven-repository-index.zip.
>
> Then when I attempt to build (The POM has an ant generate-sources phase
> to generate using JAXB some source) with in Eclipse I get the following
> errors reported:
>
> ___________
> 5/12/08 12:28:14 PM MDT: [INFO] Executing tasks
> 5/12/08 12:28:14 PM MDT: [FATAL ERROR]
> org.apache.maven.plugin.antrun.AntRunMojo#execute() caused a linkage
> error (java.lang.NoSuchMethodError) and may be out-of-date. Check the
> realms:
> 5/12/08 12:28:14 PM MDT: [FATAL ERROR] Plugin realm =
> /plugins/org.apache.maven.plugins:maven-antrun-plugin:1.1@48/thread:Work
> er-10
> urls[0] =
> file:/C:/Documents%20and%20Settings/harrison.curtis/.m2/repository/org/a
> pache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar
> urls[1] =
> file:/C:/Documents%20and%20Settings/harrison.curtis/.m2/repository/org/c
> odehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
> urls[2] =
> file:/C:/Documents%20and%20Settings/harrison.curtis/.m2/repository/junit
> /junit/3.8.1/junit-3.8.1.jar
> urls[3] =
> file:/C:/Documents%20and%20Settings/harrison.curtis/.m2/repository/ant/a
> nt/1.6.5/ant-1.6.5.jar
> urls[4] =
> file:/C:/Documents%20and%20Settings/harrison.curtis/.m2/repository/ant/a
> nt-launcher/1.6.5/ant-launcher-1.6.5.jar
> 5/12/08 12:28:14 PM MDT: [FATAL ERROR] Container realm = plexus.core
>
> 5/12/08 12:28:14 PM MDT: ERROR mojo-execute : antrun:run :
> org.apache.maven.settings.Settings.setRuntimeInfo(Lorg/apache/maven/sett
> ings/RuntimeInfo;)V
> 5/12/08 12:28:14 PM MDT: Build error for /SSRListener/pom.xml;
> java.lang.NoSuchMethodError:
> org.apache.maven.settings.Settings.setRuntimeInfo(Lorg/apache/maven/sett
> ings/RuntimeInfo;)V
> ___________
>
> If I run Maven outside of Eclipse it runs fine with no error.  Can
> someone suggest what the problem is.
>
> Harrison (Bud) Curtis
> Verizon Business
> harrison.curtis@verizonbusiness.com
> V622-4098 719/535-4098
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>