简体   繁体   中英

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://dane289@bitbucket.org/dane289/soapservice_problems.git

Thank you in advance!

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM