: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 & Agil
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: (25
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 Ren
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 o
白鹏 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"
[.
+ 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.Nativ
> 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 ju