Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9817

NoClassDefFoundError Exception is thrown when running Web Service Client.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.2.2.M2
    • 3.2.2.M1
    • webservices
    • None
    • Hide

      1. Create a Dynamic Web Project with targered runtime JBoss EAP 5.1
      2. Create a Sample Web Service
      3. Create a Bottom Up Web Service from class created in previous step
      4. Deploy Web Service on the EAP 5.1.
      5. Create another Dynamic Web Project
      6. Create Web Service Client, as URL of Web Service, type: http://localhost:8080/[ProjectName]/HelloWorld?wsdl
      7. Open created class ClientSample, as parameter in port1.sayHello() type some String value, or null
      8. Run ClientSample as simple Java Application
      AssertTrue: ClientSample should run without errors
      AssertFalse: "NoClassDefFoundError: org/apache/xerces/xs/XSModel" exception is thrown

      Show
      1. Create a Dynamic Web Project with targered runtime JBoss EAP 5.1 2. Create a Sample Web Service 3. Create a Bottom Up Web Service from class created in previous step 4. Deploy Web Service on the EAP 5.1. 5. Create another Dynamic Web Project 6. Create Web Service Client, as URL of Web Service, type: http://localhost:8080/[ProjectName]/HelloWorld?wsdl 7. Open created class ClientSample, as parameter in port1.sayHello() type some String value, or null 8. Run ClientSample as simple Java Application AssertTrue: ClientSample should run without errors AssertFalse: "NoClassDefFoundError: org/apache/xerces/xs/XSModel" exception is thrown

      Issue is Runtime specific. Web Service Client runs properly on: JBoss AS 5.1, JBoss AS 6.0, JBoss EAP 5.1.1, JBoss SOA-P 5. However, exception is thrown on: JBoss EAP 5.1, JBoss EPP 5.1.

            bfitzpat_rh Brian Fitzpatrick (Inactive)
            jjankovi Jaroslav Jankovič (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: