Axis2
  1. Axis2
  2. AXIS2-2645

Error while running client to access webservice using axis2

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: adb
    • Labels:
      None
    • Environment:
      Windows, service deployed in Tomcat, jdk150_04

      Description

      After creating client using ADM with axis2, When running the client I'm getting the below error.

      Its the sample given by apache in http://ws.apache.org/axis2/1_2/userguide-creatingclients.html#generating

      C:\apache-tomcat-5.5.23\webapps\axis2\WEB-INF\services\axis2userguide>java org.apache.axis2.axis2userguide.Client1

      Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/ws/policy/
      Assertion
      at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.j
      ava:25)
      at org.apache.axis2.description.AxisService.<init>(AxisService.java:194)

      at org.apache.axis2.description.AxisService.<init>(AxisService.java:232)

      at org.apache.axis2.axis2userguide.Axis2UserGuideServiceStub.populateAxi
      sService(Axis2UserGuideServiceStub.java:30)
      at org.apache.axis2.axis2userguide.Axis2UserGuideServiceStub.<init>(Axis
      2UserGuideServiceStub.java:101)
      at org.apache.axis2.axis2userguide.Axis2UserGuideServiceStub.<init>(Axis
      2UserGuideServiceStub.java:128)
      at org.apache.axis2.axis2userguide.Client1.main(Client1.java:15)

      Can anyone tell me where can I find this class or how to fix this.

        Activity

        Hide
        Deepal Jayasinghe added a comment -

        Please check whether neethi jar is there in the class path.

        Thanks
        Deepal

        Show
        Deepal Jayasinghe added a comment - Please check whether neethi jar is there in the class path. Thanks Deepal
        Hide
        vankasrikar added a comment -

        Yes, neethi-2.0.1.jar is in the classpath.

        Show
        vankasrikar added a comment - Yes, neethi-2.0.1.jar is in the classpath.
        Hide
        vankasrikar added a comment -

        Issue is resolved. This is because of the old jar files. Thanks for the support.

        Show
        vankasrikar added a comment - Issue is resolved. This is because of the old jar files. Thanks for the support.

          People

          • Assignee:
            Unassigned
            Reporter:
            vankasrikar
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development