Uploaded image for project: 'Cactus'
  1. Cactus
  2. CACTUS-214

Add Cargo dependencies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.7.1
    • 1.7.1
    • Maven Integration
    • None

    Description

      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

      Attachments

        Activity

          People

            felipeal Felipe Leme
            felipeal Felipe Leme
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: