com.sun.xml.internal.ws.model.RuntimeModelerException: runtime modeler error:
2014-04-17 23:33
316 查看
当使用java6发布WebService时,如果不指定@SOAPBinding(style = SOAPBinding.Style.RPC)遇到如下错误:
com.sun.xml.internal.ws.model.RuntimeModelerException: runtime modeler error: Wrapper class com.why.webservice.jaxws.SayHello is not found. Have you run APT to generate them?
SOAPBinding的style默认为SOAPBinding.Style.DOCUMENT,估计是JDK1.6早起版本对这个类型的支持有bug,所以报错。
网上资料说只要将JDK升级到1.6u17就可以了,我直接升级到了1.6u22(1.6.0_22-b04),问题解决!
com.sun.xml.internal.ws.model.RuntimeModelerException: runtime modeler error: Wrapper class com.why.webservice.jaxws.SayHello is not found. Have you run APT to generate them?
SOAPBinding的style默认为SOAPBinding.Style.DOCUMENT,估计是JDK1.6早起版本对这个类型的支持有bug,所以报错。
网上资料说只要将JDK升级到1.6u17就可以了,我直接升级到了1.6u22(1.6.0_22-b04),问题解决!
相关文章推荐
- [webservice]com.sun.xml.internal.ws.model.RuntimeModelerException: runtime modeler error:
- com.sun.xml.internal.ws.model.RuntimeModelerException: runtime modeler error:
- BUG:com.sun.xml.internal.ws.model.RuntimeModelerException: runtime modeler error
- com.sun.xml.internal.ws.model.RuntimeModelerException: runtime modeler error:
- Exception in thread "main" com.sun.xml.internal.ws.model.RuntimeModelerException: 解决办法
- Exception in thread "main" com.sun.xml.internal.ws.model.RuntimeModelerException
- com.sun.xml.internal.ws.model.RuntimeModelerException错误
- com.sun.xml.internal.ws.model.RuntimeModelerException错误
- com.sun.xml.internal.ws.model.RuntimeModelerException:
- Exception in thread "main" com.sun.xml.internal.ws.model.RuntimeModelerException:
- Exception in thread "main" com.sun.xml.internal.ws.model.RuntimeModelerException: 必须在没有程序包的类上指定 @Web
- com.sun.xml.internal.ws.model.RuntimeModelerException: class:com.mark.cxf.service could not be found
- com.sun.xml.internal.ws.server.ServerRtException: Server Runtime Error: java.net.BindException: Cannot assign requested address: bind
- 解决com.sun.xml.internal.ws.streaming.XMLStreamReaderException: unexpected XML tag.
- Exception in thread "main" com.sun.xml.internal.ws.streaming.XMLStreamReaderException: unexpected XML tag.
- com.sun.xml.internal.ws.server.sei.EndpointMethodHandler invoke java.lang.IllegalArgumentException
- Exception in thread "main" com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport e
- 解决com.sun.xml.internal.ws.streaming.XMLStreamReaderException: unexpected XML tag.
- cxf和spring整合出现的问题: com.sun.xml.internal.ws.fault.ServerSOAPFaultException: Client received SOAP Faul
- WSVR0009E: 启动期间发生错误 com.ibm.ws.exception.RuntimeError: com.ibm.ws.exception.RuntimeError: org.omg.CORBA.INTERNAL: