Re: Hi,guys! I am a new one in Maven. I try to run maven .but get the error message .
:D 2009/7/14 白鹏 : > C:\DOCUME~1\ADMINI~1>set java > JAVA_HOME=C:\Program Files\Java\jdk1.6.0_05 > > 2009/7/14 Mick Knutson > >> Where is your JAVA_HOME installed to? >> >> --- >> Thank You... >> >> Mick Knutson, President >> >> BASE Logic, Inc. >> Enterprise Architecture, Design, Mentoring & Agile Consulting >> p. (866) BLiNC-411: (254-6241-1) >> f. (415) 685-4233 >> >> Website: http://baselogic.com >> Linked IN: http://linkedin.com/in/mickknutson >> Vacation Rental: http://tahoe.baselogic.com >> --- >> >> >> >> On Mon, Jul 13, 2009 at 11:50 AM, David Weintraub >> wrote: >> >> > Try: >> > >> > *C:\DOCUME~1\ADMINI~1> mvn archetype:generate >> > * >> > * >> > *Instead of the "archetype:create". The "archetype:generate" is the newer >> > plugin, and you don't need to worry about providing it with any command >> > line >> > parameters that might cause errors. >> > >> > There could be several issues. Are you using Java 1.5 or higher? What >> > version of Maven are you using? >> > >> > ** >> > On Sun, Jul 12, 2009 at 2:17 AM, 白鹏 wrote: >> > >> > > C:\DOCUME~1\ADMINI~1>mvn archetype:create -DgroupId=com.mycompany.app >> > > -DartifactId=my-app >> > > FATAL ERROR: Unable to start the embedded plexus container >> > > >> > > who can tell me why this happen ?? >> > > >> > > Thanks a lot! >> > > >> > >> > >> > >> > -- >> > David Weintraub >> > qazw...@gmail.com >> > >> > - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Hi,guys! I am a new one in Maven. I try to run maven .but get the error message .
C:\DOCUME~1\ADMINI~1>set java JAVA_HOME=C:\Program Files\Java\jdk1.6.0_05 2009/7/14 Mick Knutson > Where is your JAVA_HOME installed to? > > --- > Thank You… > > Mick Knutson, President > > BASE Logic, Inc. > Enterprise Architecture, Design, Mentoring & Agile Consulting > p. (866) BLiNC-411: (254-6241-1) > f. (415) 685-4233 > > Website: http://baselogic.com > Linked IN: http://linkedin.com/in/mickknutson > Vacation Rental: http://tahoe.baselogic.com > --- > > > > On Mon, Jul 13, 2009 at 11:50 AM, David Weintraub > wrote: > > > Try: > > > > *C:\DOCUME~1\ADMINI~1> mvn archetype:generate > > * > > * > > *Instead of the "archetype:create". The "archetype:generate" is the newer > > plugin, and you don't need to worry about providing it with any command > > line > > parameters that might cause errors. > > > > There could be several issues. Are you using Java 1.5 or higher? What > > version of Maven are you using? > > > > ** > > On Sun, Jul 12, 2009 at 2:17 AM, 白鹏 wrote: > > > > > C:\DOCUME~1\ADMINI~1>mvn archetype:create -DgroupId=com.mycompany.app > > > -DartifactId=my-app > > > FATAL ERROR: Unable to start the embedded plexus container > > > > > > who can tell me why this happen ?? > > > > > > Thanks a lot! > > > > > > > > > > > -- > > David Weintraub > > qazw...@gmail.com > > >
Re: Hi,guys! I am a new one in Maven. I try to run maven .but get the error message .
Where is your JAVA_HOME installed to? --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring & Agile Consulting p. (866) BLiNC-411: (254-6241-1) f. (415) 685-4233 Website: http://baselogic.com Linked IN: http://linkedin.com/in/mickknutson Vacation Rental: http://tahoe.baselogic.com --- On Mon, Jul 13, 2009 at 11:50 AM, David Weintraub wrote: > Try: > > *C:\DOCUME~1\ADMINI~1> mvn archetype:generate > * > * > *Instead of the "archetype:create". The "archetype:generate" is the newer > plugin, and you don't need to worry about providing it with any command > line > parameters that might cause errors. > > There could be several issues. Are you using Java 1.5 or higher? What > version of Maven are you using? > > ** > On Sun, Jul 12, 2009 at 2:17 AM, 白鹏 wrote: > > > C:\DOCUME~1\ADMINI~1>mvn archetype:create -DgroupId=com.mycompany.app > > -DartifactId=my-app > > FATAL ERROR: Unable to start the embedded plexus container > > > > who can tell me why this happen ?? > > > > Thanks a lot! > > > > > > -- > David Weintraub > qazw...@gmail.com >
Re: Hi,guys! I am a new one in Maven. I try to run maven .but get the error message .
Try: *C:\DOCUME~1\ADMINI~1> mvn archetype:generate * * *Instead of the "archetype:create". The "archetype:generate" is the newer plugin, and you don't need to worry about providing it with any command line parameters that might cause errors. There could be several issues. Are you using Java 1.5 or higher? What version of Maven are you using? ** On Sun, Jul 12, 2009 at 2:17 AM, 白鹏 wrote: > C:\DOCUME~1\ADMINI~1>mvn archetype:create -DgroupId=com.mycompany.app > -DartifactId=my-app > FATAL ERROR: Unable to start the embedded plexus container > > who can tell me why this happen ?? > > Thanks a lot! > -- David Weintraub qazw...@gmail.com
Re: Hi, guys! I am a new one in Maven. I try to run maven .but get the error message .
白鹏 wrote: > + Error stacktraces are turned on. > Apache Maven 2.1.0 (r755702; 2009-03-19 03:10:27+0800) > Java version: 1.6.0_05 > Java home: C:\Program Files\Java\jdk1.6.0_05\jre > Default locale: zh_CN, platform encoding: GBK > OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows" [...] I'd double check the M2_HOME and JAVA_HOME environment variables to make sure that they point to the correct Maven/Java installation. -dirk - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Hi,guys! I am a new one in Maven. I try to run maven .but get the error message .
+ Error stacktraces are turned on. Apache Maven 2.1.0 (r755702; 2009-03-19 03:10:27+0800) Java version: 1.6.0_05 Java home: C:\Program Files\Java\jdk1.6.0_05\jre Default locale: zh_CN, platform encoding: GBK OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows" 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: org.codehaus.plexus.component.repository.exception.ComponentRepositor yException: Component descriptor role: ' org.sonatype.plexus.components.cipher.Pl exusCipher', implementation: 'org.sonatype.plexus.components.cipher.DefaultPlexu sCipher', role hint: 'default' has a hint, but there are other implementations t hat don't at org.codehaus.plexus.component.repository.DefaultComponentRepository.a ddComponentDescriptor(DefaultComponentRepository.java:184) at org.codehaus.plexus.DefaultPlexusContainer.addComponentDescriptor(Def aultPlexusContainer.java:515) at org.codehaus.plexus.DefaultPlexusContainer.discoverComponents(Default PlexusContainer.java:738) at org.codehaus.plexus.DefaultPlexusContainer.start(DefaultPlexusContain er.java:779) ... 11 more *2009/7/13 Wayne Fay * > > C:\DOCUME~1\ADMINI~1>mvn archetype:create -DgroupId=com.mycompany.app > > -DartifactId=my-app > > FATAL ERROR: Unable to start the embedded plexus container > > Try "mvn -X archetype:..." to turn on debug mode and look for more > information than you've provided here. The Fatal Error you've got here > is just not helpful at all. > > Wayne > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >
Re: Hi,guys! I am a new one in Maven. I try to run maven .but get the error message .
> C:\DOCUME~1\ADMINI~1>mvn archetype:create -DgroupId=com.mycompany.app > -DartifactId=my-app > FATAL ERROR: Unable to start the embedded plexus container Try "mvn -X archetype:..." to turn on debug mode and look for more information than you've provided here. The Fatal Error you've got here is just not helpful at all. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org