hi i found the problem it is due to some corrupted jar in the maven repo i cleared that and now working properly
On Thu, Sep 24, 2009 at 8:35 AM, Anantha Kumaran <[email protected]>wrote: > Hi i followed the same guide and all went nicely till the project creation > I cann't create the eclipse descriptor using " mvn eclipse:eclipse " > command > > What do you mean "after created the pom"? If you're following the guide >> here, >> >> http://cwiki.apache.org/WICKET/windows-guide-to-installing-wicket-on-eclipse-with-maven.html >> , >> you shouldn't have to create the pom manually. The "mvn >> archetype:create" >> command will do that for you. >> >> Dane >> >> On Wed, Sep 23, 2009 at 8:00 AM, Anantha Kumaran >> <[email protected]>wrote: >> >> > hi i am new to eclipse and maven >> > i followed the wicket wiki to create a new wicket project >> > >> > after created the pom i try to create the project using the eclipse >> plugin >> > (mvn eclipse:eclipse) >> > i got the following error >> > >> > [INFO] Scanning for projects... >> > [INFO] >> > ------------------------------------------------------------------------ >> > [INFO] Building quickstart >> > [INFO] task-segment: [eclipse:eclipse] >> > [INFO] >> > ------------------------------------------------------------------------ >> > [INFO] Preparing eclipse:eclipse >> > [INFO] No goals needed for project - skipping >> > [INFO] [eclipse:eclipse {execution: default-cli}] >> > [FATAL ERROR] org.apache.maven.plugin.eclipse.EclipsePlugin#execute() >> > caused >> > a l >> > inkage error (java.lang.NoClassDefFoundError) and may be out-of-date. >> Check >> > the >> > realms: >> > [FATAL ERROR] Plugin realm = >> > app0.child-container[org.apache.maven.plugins:maven >> > -eclipse-plugin:2.5.1] >> > urls[0] = >> > file:/C:/Users/Ananth/.m2/repository/org/apache/maven/plugins/maven-ec >> > lipse-plugin/2.5.1/maven-eclipse-plugin-2.5.1.jar >> > urls[1] = >> > file:/C:/Users/Ananth/.m2/repository/org/codehaus/plexus/plexus-archiv >> > er/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar >> > urls[2] = >> > file:/C:/Users/Ananth/.m2/repository/org/codehaus/plexus/plexus-utils/ >> > 1.4.5/plexus-utils-1.4.5.jar >> > urls[3] = >> > file:/C:/Users/Ananth/.m2/repository/org/codehaus/plexus/plexus-intera >> > ctivity-jline/1.0-alpha-5/plexus-interactivity-jline-1.0-alpha-5.jar >> > urls[4] = >> > file:/C:/Users/Ananth/.m2/repository/jline/jline/0.9.1/jline-0.9.1.jar >> > >> > urls[5] = >> > file:/C:/Users/Ananth/.m2/repository/org/apache/maven/maven-archiver/2 >> > .2/maven-archiver-2.2.jar >> > urls[6] = >> > file:/C:/Users/Ananth/.m2/repository/org/codehaus/plexus/plexus-resour >> > ces/1.0-alpha-4/plexus-resources-1.0-alpha-4.jar >> > urls[7] = >> > file:/C:/Users/Ananth/.m2/repository/biz/aQute/bndlib/0.0.145/bndlib-0 >> > .0.145.jar >> > urls[8] = >> > file:/C:/Users/Ananth/.m2/repository/org/apache/maven/shared/maven-osg >> > i/0.2.0/maven-osgi-0.2.0.jar >> > urls[9] = >> > file:/C:/Users/Ananth/.m2/repository/org/eclipse/core/resources/3.3.0- >> > v20070604/resources-3.3.0-v20070604.jar >> > [FATAL ERROR] Container realm = plexus.core >> > urls[0] = file:/D:/Program Files/Apache Software >> > Foundation/apache-maven-2.2.0/l >> > ib/maven-2.2.0-uber.jar >> > [INFO] >> > ------------------------------------------------------------------------ >> > [ERROR] FATAL ERROR >> > [INFO] >> > ------------------------------------------------------------------------ >> > [INFO] org/eclipse/core/internal/localstore/SafeChunkyInputStream >> > org.eclipse.core.internal.localstore.SafeChunkyInputStream >> > [INFO] >> > ------------------------------------------------------------------------ >> > [INFO] Trace >> > java.lang.NoClassDefFoundError: >> > org/eclipse/core/internal/localstore/SafeChunkyI >> > nputStream >> > at >> > org.apache.maven.plugin.eclipse.EclipsePlugin.getWorkspaceConfigurati >> > on(EclipsePlugin.java:1473) >> > at >> > org.apache.maven.plugin.eclipse.EclipsePlugin.fillDefaultClasspathCon >> > tainers(EclipsePlugin.java:1222) >> > at >> > org.apache.maven.plugin.eclipse.EclipsePlugin.setup(EclipsePlugin.jav >> > a:753) >> > at >> > org.apache.maven.plugin.ide.AbstractIdeSupportMojo.execute(AbstractId >> > eSupportMojo.java:483) >> > at >> > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi >> > nManager.java:483) >> > at >> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa >> > ultLifecycleExecutor.java:678) >> > at >> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone >> > Goal(DefaultLifecycleExecutor.java:553) >> > at >> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau >> > ltLifecycleExecutor.java:523) >> > at >> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan >> > dleFailures(DefaultLifecycleExecutor.java:371) >> > at >> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen >> > ts(DefaultLifecycleExecutor.java:332) >> > at >> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi >> > fecycleExecutor.java:181) >> > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356) >> > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137) >> > at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) >> > at >> > org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:4 >> > 1) >> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> > at >> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. >> > java:39) >> > at >> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces >> > sorImpl.java:25) >> > at java.lang.reflect.Method.invoke(Method.java:597) >> > at >> > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) >> > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) >> > at >> > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) >> > >> > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) >> > Caused by: java.lang.ClassNotFoundException: >> > org.eclipse.core.internal.localstor >> > e.SafeChunkyInputStream >> > at java.net.URLClassLoader$1.run(URLClassLoader.java:200) >> > at java.security.AccessController.doPrivileged(Native Method) >> > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) >> > at java.lang.ClassLoader.loadClass(ClassLoader.java:307) >> > at >> > org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassL >> > oader.java:195) >> > at >> > org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassReal >> > m.java:255) >> > at >> > org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassReal >> > m.java:274) >> > at >> > org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader. >> > java:214) >> > at java.lang.ClassLoader.loadClass(ClassLoader.java:252) >> > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) >> > ... 23 more >> > [INFO] >> > ------------------------------------------------------------------------ >> > [INFO] Total time: 3 seconds >> > [INFO] Finished at: Wed Sep 23 20:26:08 IST 2009 >> > [INFO] Final Memory: 6M/11M >> > [INFO] >> > ------------------------------------------------------------------------ >> > >> > please help me to fix the problem.. >> > >> > >> > Thanks >> > Anantha Kumaran >> > >> > >
