0

在 Tomee(1.6.0) 上部署 cfx2.0 网络服务时出现以下错误。请帮忙!

SEVERE: Error deploying CXF webservice for servlet com.vbvbv.TweetyWSImpl


java.lang.ClassCastException: Cannot cast $Proxy52 to org.apache.cxf.binding.soap.wsdl.extensions.SoapBinding
    at java.lang.Class.cast(Unknown Source)
    at org.apache.cxf.binding.soap.SOAPBindingUtil.getProxy(SOAPBindingUtil.java:104)
    at org.apache.cxf.binding.soap.SOAPBindingUtil.getSoapBinding(SOAPBindingUtil.java:275)
    at org.apache.cxf.binding.soap.SOAPBindingUtil.createSoapBinding(SOAPBindingUtil.java:418)
    at org.apache.cxf.binding.soap.SoapBindingFactory.createSoapBinding(SoapBindingFactory.java:212)
    at org.apache.cxf.binding.soap.SoapBindingFactory.createBindingInfo(SoapBindingFactory.java:197)
    at org.apache.cxf.binding.AbstractBaseBindingFactory.createBindingInfo(AbstractBaseBindingFactory.java:85)
    at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createBindingInfo
4

0 回答 0