You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by "Felipe Leme (JIRA)" <ca...@jakarta.apache.org> on 2005/05/31 14:48:55 UTC
[jira] Commented: (CACTUS-214) Add Cargo dependencies
[ http://issues.apache.org/jira/browse/CACTUS-214?page=comments#action_66613 ]
Felipe Leme commented on CACTUS-214:
------------------------------------
The situation is pretty weird: I tested it at home in a Linux machine and everything worked fine. But on machine at work (Windows running Cygwin), I got the forementioned error.
It's happenning even at the plugin's test cases:
t_fl01@CPQD050714 /e/cvs/cactus/public/pristine/integration/maven
$ maven plugin:test
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
Starting the reactor...
Our processing order:
testBundlePropertiesTest
testCactusSysProperties
testCactusTestSkip
TestCactusWarEarProperties
testCustomWarName
testIncludeResources
testMultipleSrcDir
testSimpleWar
testSimpleWar
testSkipPropertyEar
testSkipProperty
+----------------------------------------
| Test testBundlePropertiesTest
| Memory: 3M/5M
+----------------------------------------
BUILD FAILED
File...... C:\Documents and Settings\t_fl01\.maven\cache\maven-plugin-plugin-1.5.2\plugin.jelly
Element... maven:maven
Line...... 267
Column.... 34
Unable to obtain goal [testPlugin] -- e:\cvs\cactus\public\pristine\integration\maven\src\plugin-test\maven.xml:25:31: <maven:reactor> Reactor subproject failure occurred
Total time: 3 seconds
Finished at: Tue May 31 12:38:59 GMT 2005
Running maven -X:
--- Nested Exception ---
java.lang.NoClassDefFoundError: org/codehaus/cargo/module/webapp/WarArchive
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
at java.lang.Class.getDeclaredConstructors(Class.java:1177)
at org.apache.tools.ant.AntClassLoader.initializeClass(AntClassLoader.ja
va:484)
at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:231)
Is someone else facing the same issues?
-- Felipe
> Add Cargo dependencies
> ----------------------
>
> Key: CACTUS-214
> URL: http://issues.apache.org/jira/browse/CACTUS-214
> Project: Cactus
> Type: Bug
> Components: Maven Integration
> Versions: 1.8
> Reporter: Felipe Leme
> Priority: Blocker
> Fix For: 1.8
>
> When I tried to use the current Cactus plugin from CVS, I got the following error (after running maven -X):
> java.lang.NoClassDefFoundError: org/codehaus/cargo/module/webapp/WarArchive
> at java.lang.Class.getDeclaredConstructors0(Native Method)
> at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
> at java.lang.Class.getDeclaredConstructors(Class.java:1177)
> at org.apache.tools.ant.AntClassLoader.initializeClass(AntClassLoader.ja
> va:484)
> at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:231)
> at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:208)
> I tried to fix it adding Cargo's jar:
> <dependency>
> <groupId>cargo</groupId>
> <artifactId>cargo</artifactId>
> <version>0.5</version>
> </dependency>
> But the exception persisted; I guess it's missing some Cargo dependency, but I don't know which one (and I haven't had the time to look at the WarArchive.java to figure it out).
> -- Felipe
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org