信息: WSSERVLET12: JAX-WS context listener initializing
2013-9-12 15:35:47 com.sun.xml.ws.transport.http.servlet.WSServletContextListener parseAdaptersAndCreateDelegate
严重: WSSERVLET11: failed to parse runtime descriptor: javax.xml.ws.WebServiceException: Unable to create JAXBContext
javax.xml.ws.WebServiceException: Unable to create JAXBContext
at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:171)
at com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:99)
at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:250)
at com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:343)
at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:205)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:513)
at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:257)
at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:151)
at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.parseAdaptersAndCreateDelegate(WSServletContextListener.java:131)
at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:152)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4172)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4671)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:701)
at org.apache.catalina.startup.Catalina.start(Catalina.java:585)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.security.PrivilegedActionException: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions
www.tmzskj.com.bs.service.ChannelService is an interface, and JAXB can't handle interfaces.
this problem is related to the following location:
at www.tmzskj.com.bs.service.ChannelService
at private www.tmzskj.com.bs.service.ChannelService www.tmzskj.com.bs.action.jaxws.GetChannelServiceResponse._return
at www.tmzskj.com.bs.action.jaxws.GetChannelServiceResponse
www.tmzskj.com.bs.service.ChannelService does not have a no-arg default constructor.
this problem is related to the following location:
at www.tmzskj.com.bs.service.ChannelService
at private www.tmzskj.com.bs.service.ChannelService www.tmzskj.com.bs.action.jaxws.GetChannelServiceResponse._return
at www.tmzskj.com.bs.action.jaxws.GetChannelServiceResponse
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:158)
... 33 more
Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions
www.tmzskj.com.bs.service.ChannelService is an interface, and JAXB can't handle interfaces.
this problem is related to the following location:
at www.tmzskj.com.bs.service.ChannelService
at private www.tmzskj.com.bs.service.ChannelService www.tmzskj.com.bs.action.jaxws.GetChannelServiceResponse._return
at www.tmzskj.com.bs.action.jaxws.GetChannelServiceResponse
www.tmzskj.com.bs.service.ChannelService does not have a no-arg default constructor.
this problem is related to the following location:
at www.tmzskj.com.bs.service.ChannelService
at private www.tmzskj.com.bs.service.ChannelService www.tmzskj.com.bs.action.jaxws.GetChannelServiceResponse._return
详细解决方案
webService生成服务端以后,启动报错
热度:7063 发布时间:2016-04-11 00:05:08.0
相关解决方案
- java webservice 客户端调用服务器端同时发出多条请求~求高手解决思路
- webservice 赋值有关问题
- cxf webservice 返回json字符串时,数值型的字符串双引号不见了
- webservice…解决方法
- 高手~J2ME客户端,AXIS支撑的TOMCAT WEBSERVICE,两点间可以实现图片和文本数据的户传吗?特别是WEBSERVICE 端传给J2ME端
- webservice 开发方式解决办法
- 软体与其它(多)系统做接口,如何样做好些?webservice
- vc能不能调用c# webservice 的list范型,该怎么处理
- WebService QQ群:11583757 诚邀加盟,该怎么处理
- webservice The operation timed out,该怎么处理
- webservice x相关
- .net 的 webservice 的传入参数加密有关问题求解
- ASP.NET+容易三层架构+WebService+JS
- webservice 同一浏览器跨域调用session的有关问题
- ASP.NET 调用JAVA webservice,该如何处理
- Webservice 服务引用 session有关问题
- 请问下 WebService 版 API 怎么调用
- asp.net webservice asmx文件有关问题
- webservice 调用有关问题
- 请教为什么使用VS2005+WebService+AJAX在返回数据集的时候无法在客户端得到数据集字段的内容
- 大家给推荐几本学习 webservice 的好书吧 !多谢了
- 急2005 webService 的有关问题
- 2005 webService 的有关问题
- WebService 公布后工作不正常
- :xml webservice ,在调试环境是正确的,可在发布后应用里就不正确,请大侠们帮分析分析
- Webservice 缓存有关问题,
- 数据库 和 webservice 有关问题
- 请教怎么部署.net WebService
- 访问 webservice 之前 判断 webservice是否存在或能否连接上,该如何处理
- webservice,该如何解决