2 Replies Latest reply on Mar 3, 2010 9:31 AM by FabioSpiga

    External JARs in component.xml

    FabioSpiga Level 1

      I have created a custom component that call a web service.

      It uses the Axis libraries, so I put in the root directory of the component's Jar all the required libraries (activation.jar, axis.jar, commons-codec-1.1.jar, ...).

      Then, in the component.xml, I have defined a class-path section like this:

      <class-path>activation.jar axis.jar commons-codec-1.1.jar ...</class-path>

       

      The component is deployed and running, but when I call it, I get the following error:

       

      java.lang.NoClassDefFoundError: org.apache.axis.client.Service

       

      Which is my fault?