maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukas Theussl (JIRA)" <j...@codehaus.org>
Subject [jira] Closed: (MPWAR-63) ClassNotFoundException when trying to war SNAPSHOT version
Date Mon, 30 Oct 2006 00:17:31 GMT
     [ http://jira.codehaus.org/browse/MPWAR-63?page=all ]

Lukas Theussl closed MPWAR-63.
------------------------------

      Assignee: Lukas Theussl
    Resolution: Cannot Reproduce

Also tried with jdk1.5.0_08 without success. Please reopen with a reproducible test case if
it's still a problem for you.

> ClassNotFoundException when trying to war SNAPSHOT version
> ----------------------------------------------------------
>
>                 Key: MPWAR-63
>                 URL: http://jira.codehaus.org/browse/MPWAR-63
>             Project: maven-war-plugin
>          Issue Type: Bug
>    Affects Versions: 1.6.2
>         Environment: Fedora Core 5
> Sun JDK 1.5.0_07
> Maven 1.1-beta3
>            Reporter: Steve Molloy
>         Assigned To: Lukas Theussl
>             Fix For: 1.6.3
>
>
> When trying to build a war for a SNAPSHOT version, a ClassNotFoundException occurs when
trying to perform the staticInvoke on StringUtils:
> ...
> war:war:
>     [echo] Building WAR TawJni
> BUILD FAILED
> java.lang.ClassNotFoundException: org.apache.commons.lang.StringUtils
> 	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:306)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> 	at org.apache.commons.jelly.util.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:91)
> 	at org.apache.commons.jelly.tags.core.InvokeStaticTag.loadClass(InvokeStaticTag.java:167)
> 	at org.apache.commons.jelly.tags.core.InvokeStaticTag.doTag(InvokeStaticTag.java:124)
> 	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
> 	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> 	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
> 	at org.apache.commons.jelly.tags.core.WhenTag.doTag(WhenTag.java:46)
> 	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
> 	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> 	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
> 	at org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:38)
> 	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
> 	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> 	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
> 	at org.apache.commons.jelly.TagSupport.getBodyText(TagSupport.java:234)
> 	at org.apache.commons.jelly.TagSupport.getBodyText(TagSupport.java:222)
> 	at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:237)
> 	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
> 	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> 	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
> 	at org.apache.commons.jelly.TagSupport.getBodyText(TagSupport.java:234)
> 	at org.apache.commons.jelly.TagSupport.getBodyText(TagSupport.java:222)
> 	at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:160)
> 	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
> 	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> 	at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:82)
> 	at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:115)
> 	at org.apache.maven.werkz.Goal.fire(Goal.java:647)
> 	at org.apache.maven.werkz.Goal.attain(Goal.java:582)
> 	at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:494)
> 	at org.apache.maven.werkz.Goal.attain(Goal.java:580)
> 	at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:709)
> 	at org.apache.maven.MavenSession.attainGoals(MavenSession.java:264)
> 	at org.apache.maven.cli.App.doMain(App.java:546)
> 	at org.apache.maven.cli.App.main(App.java:1390)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> File...... file:/home/smolloy/.maven/cache/maven-war-plugin-1.6.2/plugin.jelly
> Element... j:invokeStatic
> Line...... 103
> Column.... 130
> org.apache.commons.lang.StringUtils
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at com.werken.forehead.Forehead.run(Forehead.java:551)
> 	at com.werken.forehead.Forehead.main(Forehead.java:581)
> Total time   : 2 minutes 26 seconds 
> Finished at  : Monday, August 14, 2006 11:06:43 EDT AM

-- 
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

        

Mime
View raw message