2013年5月21日

CXF wsdl2java 错误

摘要: 错误现象:WSDLToJava Error: Thrown by JAXB : A class/interface with the same name "xxx.xxx.Xxx" is already in use. Use a class customization to resolve this conflict.或者:WSDLToJava Error: Thrown by JAXB:Thrown by JAXB:具有相同名称 "com.jiewen.posp.ws.TransHandles" 的类/接口已在使用。请使用类定制设置来解决此冲突。at 阅读全文

posted @ 2013-05-21 10:50 sin7 阅读(808) 评论(0) 推荐(0)

CXF 构造 webservice 构造函数 问题

摘要: 用 CXF 框架写的 webservice 中实现类中,实现了一个带参构造函数而启动服务出错,提示无法实例化该类;错误现象: Caused by: java.lang.InstantiationException: com.jiewen.posp.ws.PospServiceImpl at java.lang.Class.newInstance0(Class.java:340) at java.lang.Class.newInstance(Class.java:308) at org.apache.cxf.jaxws.spring.E... 阅读全文

posted @ 2013-05-21 10:08 sin7 阅读(373) 评论(0) 推荐(0)

导航