Jit,

It is really hard to guess how your project look like. Please create a jira issue for this and attach sample test project that would allow us to reproduce this issue. See the following wiki page for some hints. http://docs.codehaus.org/display/M2ECLIPSE/Reporting+Issues

 regards,
 Eugene


jitv wrote:
Hello,

I recently upgraded to m2eclipse 0.9.0. When making use of the 'Update
Source Folders' option in the Maven context menu to trigger the
'generate-sources' lifecycle phase I get the following error from my antrun
task:

27/03/08 16:06:16 GMT: antrun:run
27/03/08 16:06:16 GMT: [DEBUG] Setting context classloader for plugin to:
/plugins/org.apache.maven.plugins:maven-antrun-plugin:[EMAIL 
PROTECTED]/thread:Worker-15
(instance is:
ClassRealm[/plugins/org.apache.maven.plugins:maven-antrun-plugin:[EMAIL 
PROTECTED]/thread:Worker-15,
parent: ClassRealm[plexus.core, parent: null]])
27/03/08 16:06:16 GMT: [INFO] Executing tasks
27/03/08 16:06:16 GMT: [DEBUG] getProperty(ns=null, name=ant.reuse.loader,
user=false)
27/03/08 16:06:16 GMT: [DEBUG] getProperty(ns=null, name=compile.classpath,
user=false)
27/03/08 16:06:16 GMT: [DEBUG] getProperty(ns=null, name=ant.reuse.loader,
user=false)
27/03/08 16:06:16 GMT: [DEBUG] getProperty(ns=null, name=build.sysclasspath,
user=false)
27/03/08 16:06:16 GMT: [DEBUG] getProperty(ns=null, name=dir.gen.src,
user=false)
27/03/08 16:06:16 GMT: [DEBUG] getProperty(ns=null, name=dir.gen.src.dest,
user=false)
27/03/08 16:06:16 GMT: [DEBUG] getProperty(ns=null, name=database.type,
user=false)
27/03/08 16:06:16 GMT: [DEBUG] getProperty(ns=null, name=dir.gen.src,
user=false)
27/03/08 16:06:16 GMT: [FATAL ERROR]
org.apache.maven.plugin.antrun.AntRunMojo#execute() caused a linkage error
(java.lang.NoClassDefFoundError) and may be out-of-date. Check the realms:
27/03/08 16:06:16 GMT: [FATAL ERROR] Plugin realm =
/plugins/org.apache.maven.plugins:maven-antrun-plugin:[EMAIL 
PROTECTED]/thread:Worker-15
urls[0] =
file:/c:/.m2/org/apache/maven/plugins/maven-antrun-plugin/1.0/maven-antrun-plugin-1.0.jar
urls[1] = file:/c:/.m2/junit/junit/3.8.1/junit-3.8.1.jar
urls[2] = file:/c:/.m2/ant/ant/1.6.5/ant-1.6.5.jar
urls[3] =
file:/c:/.m2/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar
urls[4] =
file:/c:/.m2/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
urls[5] = file:/c:/.m2/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar
27/03/08 16:06:16 GMT: [FATAL ERROR] Container realm = plexus.core
27/03/08 16:06:16 GMT: ERROR mojo-execute : antrun:run :
org/apache/log/format/Formatter

Any help/ideas welcome.

Regards,

Jit


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to