Search code examples
javahibernateweb-servicessoapwsdl

Java SOAP WSDL service NoClassDefFoundError


I have been struggling with the creation of a SOAP web service and I simply can't get it working.

I have written my service, and then, from Eclipse, I created a Web service. And although the saving in the db worked just fine when I tested the service locally (created a simple main method), when I try testing it from the generated Web service I get NoClassDefFoundError.

If anyone has the time to take a look I would be gratefull. https://[email protected]/dane289/soapservice_problems.git

Thank you in advance!


Solution

  • The problem was that eclipse was not adding the jars to the WAR file. After adding them to the war via the eclipse menu Assembly something everything worked fine.