You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Andreas Höhmann (JIRA)" <ji...@codehaus.org> on 2008/06/05 14:31:05 UTC
[jira] Created: (ARCHETYPE-181) Missing class
org/apache/commons/lang/StringUtils
Missing class org/apache/commons/lang/StringUtils
-------------------------------------------------
Key: ARCHETYPE-181
URL: http://jira.codehaus.org/browse/ARCHETYPE-181
Project: Maven Archetype
Issue Type: Bug
Affects Versions: 2.0-alpha-3
Environment: mvn 2.0.9
java 1.6_06
Reporter: Andreas Höhmann
mvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DgroupId=com.mycompany.app -DartifactId=my-app
throws ...
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] org/apache/commons/lang/StringUtils
org.apache.commons.lang.StringUtils
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
at org.apache.velocity.runtime.resource.ResourceManagerImpl.initialize(R
esourceManagerImpl.java:165)
at org.apache.velocity.runtime.RuntimeInstance.initializeResourceManager
(RuntimeInstance.java:594)
Any ideas?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Issue Comment Edited: (ARCHETYPE-181) Missing class
org/apache/commons/lang/StringUtils
Posted by "Gabriel Lincourt (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/ARCHETYPE-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=137608#action_137608 ]
a101ymr edited comment on ARCHETYPE-181 at 6/6/08 3:24 AM:
--------------------------------------------------------------------
Raphaël, thank you for your help!
Turns out, it is infact indirectly an "issue" with Artifactory. (Without any repository proxy, everything works perfectly for me as well :-)
Artifactory is working as designed, but the Velocity 1.5 POM is faulty. Problem described here:
http://www.nabble.com/problem-with-velocity:velocity:1.5-td15005415.html
was (Author: a101ymr):
Raphaël, thank you for your help!
Yes, it is indirectly an Artifactory "issue". (Without any repository proxy, everything works perfectly for me as well :-)
Artifactory is working as designed, but the Velocity 1.5 POM is faulty. Problem described here:
http://www.nabble.com/problem-with-velocity:velocity:1.5-td15005415.html
> Missing class org/apache/commons/lang/StringUtils
> -------------------------------------------------
>
> Key: ARCHETYPE-181
> URL: http://jira.codehaus.org/browse/ARCHETYPE-181
> Project: Maven Archetype
> Issue Type: Bug
> Affects Versions: 2.0-alpha-3
> Environment: mvn 2.0.9
> java 1.6_06
> Reporter: Andreas Höhmann
> Attachments: 2008-06-05-trace.txt, mvn-debug.txt
>
>
> mvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DgroupId=com.mycompany.app -DartifactId=my-app
>
> throws ...
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] org/apache/commons/lang/StringUtils
> org.apache.commons.lang.StringUtils
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
> at org.apache.velocity.runtime.resource.ResourceManagerImpl.initialize(R
> esourceManagerImpl.java:165)
> at org.apache.velocity.runtime.RuntimeInstance.initializeResourceManager
> (RuntimeInstance.java:594)
> Any ideas?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (ARCHETYPE-181) Missing class
org/apache/commons/lang/StringUtils
Posted by "Raphaël Piéroni (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/ARCHETYPE-181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Raphaël Piéroni updated ARCHETYPE-181:
--------------------------------------
Attachment: 2008-06-05-trace.txt
Here i tried with a fresh repository.
I use nexus to proxy repositories.
Could it be an artifactory bug?
Is it working without any proxy?
> Missing class org/apache/commons/lang/StringUtils
> -------------------------------------------------
>
> Key: ARCHETYPE-181
> URL: http://jira.codehaus.org/browse/ARCHETYPE-181
> Project: Maven Archetype
> Issue Type: Bug
> Affects Versions: 2.0-alpha-3
> Environment: mvn 2.0.9
> java 1.6_06
> Reporter: Andreas Höhmann
> Attachments: 2008-06-05-trace.txt, mvn-debug.txt
>
>
> mvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DgroupId=com.mycompany.app -DartifactId=my-app
>
> throws ...
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] org/apache/commons/lang/StringUtils
> org.apache.commons.lang.StringUtils
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
> at org.apache.velocity.runtime.resource.ResourceManagerImpl.initialize(R
> esourceManagerImpl.java:165)
> at org.apache.velocity.runtime.RuntimeInstance.initializeResourceManager
> (RuntimeInstance.java:594)
> Any ideas?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (ARCHETYPE-181) Missing class
org/apache/commons/lang/StringUtils
Posted by "Gabriel Lincourt (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/ARCHETYPE-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=137499#action_137499 ]
Gabriel Lincourt commented on ARCHETYPE-181:
--------------------------------------------
Thanks for the tips, Raphaël.
(Andreas reported this issue for my benefit)
I cleaned everything out of my local repository, and then ran just: "mvn archetype:generate"
....and became the exact same error message as before...
java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
> Missing class org/apache/commons/lang/StringUtils
> -------------------------------------------------
>
> Key: ARCHETYPE-181
> URL: http://jira.codehaus.org/browse/ARCHETYPE-181
> Project: Maven Archetype
> Issue Type: Bug
> Affects Versions: 2.0-alpha-3
> Environment: mvn 2.0.9
> java 1.6_06
> Reporter: Andreas Höhmann
>
> mvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DgroupId=com.mycompany.app -DartifactId=my-app
>
> throws ...
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] org/apache/commons/lang/StringUtils
> org.apache.commons.lang.StringUtils
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
> at org.apache.velocity.runtime.resource.ResourceManagerImpl.initialize(R
> esourceManagerImpl.java:165)
> at org.apache.velocity.runtime.RuntimeInstance.initializeResourceManager
> (RuntimeInstance.java:594)
> Any ideas?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (ARCHETYPE-181) Missing class
org/apache/commons/lang/StringUtils
Posted by "Raphaël Piéroni (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/ARCHETYPE-181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Raphaël Piéroni closed ARCHETYPE-181.
-------------------------------------
Resolution: Not A Bug
as stated in the comment
> Missing class org/apache/commons/lang/StringUtils
> -------------------------------------------------
>
> Key: ARCHETYPE-181
> URL: http://jira.codehaus.org/browse/ARCHETYPE-181
> Project: Maven Archetype
> Issue Type: Bug
> Affects Versions: 2.0-alpha-3
> Environment: mvn 2.0.9
> java 1.6_06
> Reporter: Andreas Höhmann
> Attachments: 2008-06-05-trace.txt, mvn-debug.txt
>
>
> mvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DgroupId=com.mycompany.app -DartifactId=my-app
>
> throws ...
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] org/apache/commons/lang/StringUtils
> org.apache.commons.lang.StringUtils
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
> at org.apache.velocity.runtime.resource.ResourceManagerImpl.initialize(R
> esourceManagerImpl.java:165)
> at org.apache.velocity.runtime.RuntimeInstance.initializeResourceManager
> (RuntimeInstance.java:594)
> Any ideas?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (ARCHETYPE-181) Missing class
org/apache/commons/lang/StringUtils
Posted by "Gabriel Lincourt (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/ARCHETYPE-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=137608#action_137608 ]
Gabriel Lincourt commented on ARCHETYPE-181:
--------------------------------------------
Raphaël, thank you for your help!
Yes, it is indirectly an Artifactory "issue". (Without any repository proxy, everything works perfectly for me as well :-)
Artifactory is working as designed, but the Velocity 1.5 POM is faulty. Problem described here:
http://www.nabble.com/problem-with-velocity:velocity:1.5-td15005415.html
> Missing class org/apache/commons/lang/StringUtils
> -------------------------------------------------
>
> Key: ARCHETYPE-181
> URL: http://jira.codehaus.org/browse/ARCHETYPE-181
> Project: Maven Archetype
> Issue Type: Bug
> Affects Versions: 2.0-alpha-3
> Environment: mvn 2.0.9
> java 1.6_06
> Reporter: Andreas Höhmann
> Attachments: 2008-06-05-trace.txt, mvn-debug.txt
>
>
> mvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DgroupId=com.mycompany.app -DartifactId=my-app
>
> throws ...
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] org/apache/commons/lang/StringUtils
> org.apache.commons.lang.StringUtils
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
> at org.apache.velocity.runtime.resource.ResourceManagerImpl.initialize(R
> esourceManagerImpl.java:165)
> at org.apache.velocity.runtime.RuntimeInstance.initializeResourceManager
> (RuntimeInstance.java:594)
> Any ideas?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Issue Comment Edited: (ARCHETYPE-181) Missing class
org/apache/commons/lang/StringUtils
Posted by "Gabriel Lincourt (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/ARCHETYPE-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=137508#action_137508 ]
a101ymr edited comment on ARCHETYPE-181 at 6/5/08 10:10 AM:
---------------------------------------------------------------------
Shouldn't there perhaps be:
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
</dependency>
....in the org\apache\maven\archetype\archetype-common\2.0-alpha-3\archetype-common-2.0-alpha-3.pom?
Without it, Maven isn't retrieving the commons-lang repository, which I assume is needed for the archetype to run!?
PS, if I add the dependency to the pom, archetype:generate progresses further, but still has some serious issues. But.... archetype:create works!
was (Author: a101ymr):
Shouldn't there perhaps be:
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
</dependency>
....in the org\apache\maven\archetype\archetype-common\2.0-alpha-3\archetype-common-2.0-alpha-3.pom?
Without it, Maven isn't retrieving the commons-lang repository, which I assume is needed for the archetype to run!?
PS, if I add the dependency to the pom, archetype:generate progresses further, but still have some serious issues. But.... archetype:create works!
> Missing class org/apache/commons/lang/StringUtils
> -------------------------------------------------
>
> Key: ARCHETYPE-181
> URL: http://jira.codehaus.org/browse/ARCHETYPE-181
> Project: Maven Archetype
> Issue Type: Bug
> Affects Versions: 2.0-alpha-3
> Environment: mvn 2.0.9
> java 1.6_06
> Reporter: Andreas Höhmann
> Attachments: mvn-debug.txt
>
>
> mvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DgroupId=com.mycompany.app -DartifactId=my-app
>
> throws ...
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] org/apache/commons/lang/StringUtils
> org.apache.commons.lang.StringUtils
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
> at org.apache.velocity.runtime.resource.ResourceManagerImpl.initialize(R
> esourceManagerImpl.java:165)
> at org.apache.velocity.runtime.RuntimeInstance.initializeResourceManager
> (RuntimeInstance.java:594)
> Any ideas?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Issue Comment Edited: (ARCHETYPE-181) Missing class
org/apache/commons/lang/StringUtils
Posted by "Gabriel Lincourt (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/ARCHETYPE-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=137508#action_137508 ]
a101ymr edited comment on ARCHETYPE-181 at 6/5/08 10:09 AM:
---------------------------------------------------------------------
Shouldn't there perhaps be:
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
</dependency>
....in the org\apache\maven\archetype\archetype-common\2.0-alpha-3\archetype-common-2.0-alpha-3.pom?
Without it, Maven isn't retrieving the commons-lang repository, which I assume is needed for the archetype to run!?
PS, if I add the dependency to the pom, archetype:generate progresses further, but still have some serious issues. But.... archetype:create works!
was (Author: a101ymr):
Shouldn't there perhaps be:
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
</dependency>
....in the org\apache\maven\archetype\archetype-common\2.0-alpha-3\archetype-common-2.0-alpha-3.pom?
Without it, Maven isn't retrieving the commons-lang repository, which I assume is needed for the archetype to run!?
PS, if I add the dependency ^above^ to the pom, archetype:generate progresses further, but still have some serious issues. But.... archetype:create works!
> Missing class org/apache/commons/lang/StringUtils
> -------------------------------------------------
>
> Key: ARCHETYPE-181
> URL: http://jira.codehaus.org/browse/ARCHETYPE-181
> Project: Maven Archetype
> Issue Type: Bug
> Affects Versions: 2.0-alpha-3
> Environment: mvn 2.0.9
> java 1.6_06
> Reporter: Andreas Höhmann
> Attachments: mvn-debug.txt
>
>
> mvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DgroupId=com.mycompany.app -DartifactId=my-app
>
> throws ...
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] org/apache/commons/lang/StringUtils
> org.apache.commons.lang.StringUtils
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
> at org.apache.velocity.runtime.resource.ResourceManagerImpl.initialize(R
> esourceManagerImpl.java:165)
> at org.apache.velocity.runtime.RuntimeInstance.initializeResourceManager
> (RuntimeInstance.java:594)
> Any ideas?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Issue Comment Edited: (ARCHETYPE-181) Missing class
org/apache/commons/lang/StringUtils
Posted by "Gabriel Lincourt (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/ARCHETYPE-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=137508#action_137508 ]
a101ymr edited comment on ARCHETYPE-181 at 6/5/08 10:09 AM:
---------------------------------------------------------------------
Shouldn't there perhaps be:
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
</dependency>
....in the org\apache\maven\archetype\archetype-common\2.0-alpha-3\archetype-common-2.0-alpha-3.pom?
Without it, Maven isn't retrieving the commons-lang repository, which I assume is needed for the archetype to run!?
PS, if I add the dependency ^above^ to the pom, archetype:generate progresses further, but still have some serious issues. But.... archetype:create works!
was (Author: a101ymr):
Shouldn't there perhaps be:
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
</dependency>
....in the org\apache\maven\archetype\archetype-common\2.0-alpha-3\archetype-common-2.0-alpha-3.pom?
Without it, Maven isn't retrieving the commons-lang repository, which I assume is needed for the archetype to run!?
> Missing class org/apache/commons/lang/StringUtils
> -------------------------------------------------
>
> Key: ARCHETYPE-181
> URL: http://jira.codehaus.org/browse/ARCHETYPE-181
> Project: Maven Archetype
> Issue Type: Bug
> Affects Versions: 2.0-alpha-3
> Environment: mvn 2.0.9
> java 1.6_06
> Reporter: Andreas Höhmann
> Attachments: mvn-debug.txt
>
>
> mvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DgroupId=com.mycompany.app -DartifactId=my-app
>
> throws ...
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] org/apache/commons/lang/StringUtils
> org.apache.commons.lang.StringUtils
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
> at org.apache.velocity.runtime.resource.ResourceManagerImpl.initialize(R
> esourceManagerImpl.java:165)
> at org.apache.velocity.runtime.RuntimeInstance.initializeResourceManager
> (RuntimeInstance.java:594)
> Any ideas?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (ARCHETYPE-181) Missing class
org/apache/commons/lang/StringUtils
Posted by "Gabriel Lincourt (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/ARCHETYPE-181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gabriel Lincourt updated ARCHETYPE-181:
---------------------------------------
Attachment: mvn-debug.txt
This is the output from running "mvn -X archetype:generate"
> Missing class org/apache/commons/lang/StringUtils
> -------------------------------------------------
>
> Key: ARCHETYPE-181
> URL: http://jira.codehaus.org/browse/ARCHETYPE-181
> Project: Maven Archetype
> Issue Type: Bug
> Affects Versions: 2.0-alpha-3
> Environment: mvn 2.0.9
> java 1.6_06
> Reporter: Andreas Höhmann
> Attachments: mvn-debug.txt
>
>
> mvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DgroupId=com.mycompany.app -DartifactId=my-app
>
> throws ...
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] org/apache/commons/lang/StringUtils
> org.apache.commons.lang.StringUtils
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
> at org.apache.velocity.runtime.resource.ResourceManagerImpl.initialize(R
> esourceManagerImpl.java:165)
> at org.apache.velocity.runtime.RuntimeInstance.initializeResourceManager
> (RuntimeInstance.java:594)
> Any ideas?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (ARCHETYPE-181) Missing class
org/apache/commons/lang/StringUtils
Posted by "Raphaël Piéroni (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/ARCHETYPE-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=137496#action_137496 ]
Raphaël Piéroni commented on ARCHETYPE-181:
-------------------------------------------
Can you please try
1) without -DarchetypeGroupId.
2) with a clean local repository
Thanks
> Missing class org/apache/commons/lang/StringUtils
> -------------------------------------------------
>
> Key: ARCHETYPE-181
> URL: http://jira.codehaus.org/browse/ARCHETYPE-181
> Project: Maven Archetype
> Issue Type: Bug
> Affects Versions: 2.0-alpha-3
> Environment: mvn 2.0.9
> java 1.6_06
> Reporter: Andreas Höhmann
>
> mvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DgroupId=com.mycompany.app -DartifactId=my-app
>
> throws ...
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] org/apache/commons/lang/StringUtils
> org.apache.commons.lang.StringUtils
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
> at org.apache.velocity.runtime.resource.ResourceManagerImpl.initialize(R
> esourceManagerImpl.java:165)
> at org.apache.velocity.runtime.RuntimeInstance.initializeResourceManager
> (RuntimeInstance.java:594)
> Any ideas?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Issue Comment Edited: (ARCHETYPE-181) Missing class
org/apache/commons/lang/StringUtils
Posted by "Gabriel Lincourt (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/ARCHETYPE-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=137501#action_137501 ]
a101ymr edited comment on ARCHETYPE-181 at 6/5/08 7:58 AM:
--------------------------------------------------------------------
I have attached the output from running "mvn -X archetype:generate"
Btw, we are using an Artifactory server to "proxy" and cache all repository requests.
was (Author: a101ymr):
This is the output from running "mvn -X archetype:generate"
> Missing class org/apache/commons/lang/StringUtils
> -------------------------------------------------
>
> Key: ARCHETYPE-181
> URL: http://jira.codehaus.org/browse/ARCHETYPE-181
> Project: Maven Archetype
> Issue Type: Bug
> Affects Versions: 2.0-alpha-3
> Environment: mvn 2.0.9
> java 1.6_06
> Reporter: Andreas Höhmann
> Attachments: mvn-debug.txt
>
>
> mvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DgroupId=com.mycompany.app -DartifactId=my-app
>
> throws ...
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] org/apache/commons/lang/StringUtils
> org.apache.commons.lang.StringUtils
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
> at org.apache.velocity.runtime.resource.ResourceManagerImpl.initialize(R
> esourceManagerImpl.java:165)
> at org.apache.velocity.runtime.RuntimeInstance.initializeResourceManager
> (RuntimeInstance.java:594)
> Any ideas?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (ARCHETYPE-181) Missing class
org/apache/commons/lang/StringUtils
Posted by "Gabriel Lincourt (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/ARCHETYPE-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=137508#action_137508 ]
Gabriel Lincourt commented on ARCHETYPE-181:
--------------------------------------------
Shouldn't there perhaps be:
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
</dependency>
....in the org\apache\maven\archetype\archetype-common\2.0-alpha-3\archetype-common-2.0-alpha-3.pom?
Without it, Maven isn't retrieving the commons-lang repository, which I assume is needed for the archetype to run!?
> Missing class org/apache/commons/lang/StringUtils
> -------------------------------------------------
>
> Key: ARCHETYPE-181
> URL: http://jira.codehaus.org/browse/ARCHETYPE-181
> Project: Maven Archetype
> Issue Type: Bug
> Affects Versions: 2.0-alpha-3
> Environment: mvn 2.0.9
> java 1.6_06
> Reporter: Andreas Höhmann
> Attachments: mvn-debug.txt
>
>
> mvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DgroupId=com.mycompany.app -DartifactId=my-app
>
> throws ...
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] org/apache/commons/lang/StringUtils
> org.apache.commons.lang.StringUtils
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
> at org.apache.velocity.runtime.resource.ResourceManagerImpl.initialize(R
> esourceManagerImpl.java:165)
> at org.apache.velocity.runtime.RuntimeInstance.initializeResourceManager
> (RuntimeInstance.java:594)
> Any ideas?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira