开发者

SoapUI error on request - NoClassDefFoundError

开发者 https://www.devze.com 2023-01-27 10:32 出处:网络
I am new to web services and I have deployed a web service locally ( I am able to see the wsdl) I tried to query the web service by creating a request in SOAPUI.

I am new to web services and I have deployed a web service locally ( I am able to see the wsdl) I tried to query the web service by creating a request in SOAPUI. The response I got back was

     <env:Fault>
     <faultcode>env:Server</faultcode>
     <faultstring>java.lang.NoClassDefFoundError: org/apache/commons/lang/StringEscapeUtils
     </faultstring>
  </env:Fault>

I see a bunch of errors in the jboss console in eclipse...

11:53:06,226 ERROR [SOAPFaultHelperJAXWS] 
SOAP requestexceptionjava.lang.RuntimeException: 
java.lang.NoClassDefFoundError:org/apache/commons/lang/StringEscapeUtils

Can someone help me in figuring out what the problem could be?

Is something wrong with the way I setup my SOAPUI or i开发者_运维知识库s it I missed something in my project(web service server)


You need commons-lang.jar in your classpath


How do you exactly deploy the web service? For example, if you create an .aar archive, please verify that the corresponding jar (commons-lang.jar?) is available into the lib folder of the archive. For example:

your_service_root
  ->META-INF
  ->lib
     ->commons-lang.jar
  -> com
     ->bla
        ->bla
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号