Luke , thanks for the reply , but where i exactly i need to add the mentioned line in eclipse, I hope its maven specific info. but confused maven-resources-plugin section, where would this file?. its xml file or .properties file
thanks for the help Brijesh Lukasz Dywicki (splatch) wrote: > > Just add <version>2.3</version> to you maven-resources-plugin section. > > > brijesh wrote: >> >> Luke, >> thanks for the response, i have updated maven tool and service mix >> tooling from following website >> http://fusesource.com/docs/id/1.0/install_guide/index.html >> >> i have followed all the step mentioned above guide, >> >> when i am creating service bean , in eclipse console i am getting >> following error >> >> [INFO] Scanning for projects... >> [INFO] >> ---------------------------------------------------------------------------- >> [INFO] Building A servicemix-bean Service Unit >> [INFO] task-segment: [install] >> [INFO] >> ---------------------------------------------------------------------------- >> [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking >> for updates from open.iona.m2 >> [WARN] repository metadata for: 'artifact >> org.apache.maven.plugins:maven-resources-plugin' could not be retrieved >> from repository: open.iona.m2 due to an error: Error transferring file >> [INFO] Repository 'open.iona.m2' will be blacklisted >> [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking >> for updates from central >> [WARN] repository metadata for: 'artifact >> org.apache.maven.plugins:maven-resources-plugin' could not be retrieved >> from repository: central due to an error: Error transferring file >> [INFO] Repository 'central' will be blacklisted >> [ERROR] project-execute : >> com.mycompany:testBeanSU:jbi-service-unit:1.0-SNAPSHOT ( task-segment: >> [install] ) >> Diagnosis: The plugin 'org.apache.maven.plugins:maven-resources-plugin' >> does not exist or no valid version could be found >> FATAL ERROR: Error executing Maven for a project >> [INFO] >> ---------------------------------------------------------------------------- >> [INFO] BUILD SUCCESSFUL >> [INFO] >> ---------------------------------------------------------------------------- >> [INFO] Total time: 26 second >> [INFO] Finished at: Wed Oct 29 21:32:16 IST 2008 >> [INFO] Memory 0M/4M >> [INFO] >> ---------------------------------------------------------------------------- >> [INFO] Error for project: A servicemix-bean Service Unit (during install) >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does >> not exist or no valid version could be found >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Trace The plugin 'org.apache.maven.plugins:maven-resources-plugin' >> does not exist or no valid version could be found >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] reactor-execute : C:\Users\brijesh\workspaceIDE\testBeanSU >> FATAL ERROR: Error executing Maven for a project >> [INFO] BUILD ERRORS >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 29 seconds >> [INFO] Finished at: Wed Oct 29 21:32:16 IST 2008 >> [INFO] Final Memory: 3M/6M >> [INFO] >> ------------------------------------------------------------------------ >> org.apache.maven.reactor.MavenExecutionException: Some builds failed >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:210) >> at >> org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:690) >> at org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:112) >> >> thanks >> >> brijesh n k >> >> >> >> >> >> Lukasz Dywicki (splatch) wrote: >>> >>> Brijesh, please provide additional informations about you environment. >>> This is propably Maven dependency issue or version conflict, but without >>> details (with version of maven, tooling you have got this error) we'll >>> can not reproduce error. Pom for you SU will be also very helpful. >>> >>> I see in you stack trace Maven embedder so I conjecture you use this >>> plugin. Some times m2eclipse doing strange things. Te know work around >>> for m2eclipse problems is using old mvn eclipse:eclipse goal and >>> download sources (eg mvn dependency:sources). This is propably the best >>> way to attach everything to Eclipse. It's also much faster than >>> m2eclipse. >>> >>> Regards, >>> Luke >>> >>> >>> brijesh wrote: >>>> >>>> Hello there , >>>> >>>> I have installed the tooling from update site , while i am creating >>>> service unit i am getting following error , >>>> >>>> java.lang.NoClassDefFoundError:org/codehaus/plexus/util/FileUtils$FilterWrapper >>>> >>>> any reason for this? >>>> >>>> following is error stack >>>> >>>> >>>> >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [ERROR] FATAL ERROR >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] org/codehaus/plexus/util/FileUtils$FilterWrapper >>>> org.codehaus.plexus.util.FileUtils$FilterWrapper >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Trace org/codehaus/plexus/util/FileUtils$FilterWrapper >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Total time: 15 seconds >>>> [INFO] Finished at: Fri Oct 24 09:06:34 IST 2008 >>>> [INFO] Final Memory: 8M/15M >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> org.apache.maven.reactor.MavenExecutionException: Error executing >>>> project within the reactor >>>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:186) >>>> at >>>> org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:690) >>>> at org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:112) >>>> Caused by: java.lang.NoClassDefFoundError: >>>> org/codehaus/plexus/util/FileUtils$FilterWrapper >>>> at >>>> org.apache.maven.plugin.resources.ResourcesMojo.execute(ResourcesMojo.java:150) >>>> at >>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) >>>> at >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534) >>>> at >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475) >>>> at >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454) >>>> at >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306) >>>> at >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273) >>>> at >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140) >>>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361) >>>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:150) >>>> ... 2 more >>>> Caused by: java.lang.ClassNotFoundException: >>>> org.codehaus.plexus.util.FileUtils$FilterWrapper >>>> at java.net.URLClassLoader$1.run(Unknown Source) >>>> at java.security.AccessController.doPrivileged(Native Method) >>>> at java.net.URLClassLoader.findClass(Unknown Source) >>>> at java.lang.ClassLoader.loadClass(Unknown Source) >>>> at >>>> org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195) >>>> at >>>> org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255) >>>> at >>>> org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274) >>>> at >>>> org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214) >>>> at java.lang.ClassLoader.loadClass(Unknown Source) >>>> at java.lang.ClassLoader.loadClassInternal(Unknown Source) >>>> ... 12 more >>>> >>>> >>>> thanks >>>> >>>> Brijesh N K >>>> >>> >>> >> >> > > -- View this message in context: http://www.nabble.com/java.lang.NoClassDefFoundError%3Aorg-codehaus-plexus-util-FileUtils%24FilterWrapper-tp20143764p20243782.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
