开发者

SOAP request exceptionjava.lang.ClassCastException

I am using EJB3 and hibernate running on jboss4.2.2.GA with jdk1.5

I have several soap web services and when I deploy EAR to the server, once the deployment is done and comes a request to my web services I get the following exception. BTW I can't figure out why but when I test it on local server there is not any error messages, wierd..

开发者_运维问答

Any help would be appreciated, thanks in advance guys.

ERROR [org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS] SOAP request exception

java.lang.ClassCastException: com.sun.xml.messaging.saaj.soap.ver1_1.Envelope1_1Impl

[org.jboss.wsf.stack.jbws.RequestHandlerImpl] Error processing web service request

org.jboss.ws.WSException: java.lang.ClassCastException: com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl

[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/myProject].[CatalogService]] Servlet.service() for servlet CatalogService threw exception

java.lang.ClassCastException: com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl


The problem is most likely that there is a different version of SAAJ in your web appliation. did you include the saaj*.jar files accidentally using the CXF web service facet? Delete them and you should be ok.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜