`

javax.xml.ws.WebServiceException: Unable to create JAXBContext

 
阅读更多
错误描述:com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
严重: 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:158)
at com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:87)
at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:262)
at com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:322)
at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:188)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:467)
at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:253)
at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:147)
at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:108)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)
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:601)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
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:840)
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:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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: 4 counts of IllegalAnnotationExceptions
com.talkweb.apframe.common.service.ResourceService is an interface, and JAXB can't handle interfaces.
this problem is related to the following location:
at com.talkweb.apframe.common.service.ResourceService
at private com.talkweb.apframe.common.service.ResourceService com.talkweb.ecard.storage.service.impl.jaxws.SetResourceService.arg0
at com.talkweb.ecard.storage.service.impl.jaxws.SetResourceService
com.talkweb.apframe.common.service.ResourceService does not have a no-arg default constructor.
this problem is related to the following location:
at com.talkweb.apframe.common.service.ResourceService
at private com.talkweb.apframe.common.service.ResourceService com.talkweb.ecard.storage.service.impl.jaxws.SetResourceService.arg0
at com.talkweb.ecard.storage.service.impl.jaxws.SetResourceService
com.talkweb.foundation.database.DataBaseDao is an interface, and JAXB can't handle interfaces.
this problem is related to the following location:
at com.talkweb.foundation.database.DataBaseDao
at private com.talkweb.foundation.database.DataBaseDao com.talkweb.ecard.storage.service.impl.jaxws.SetDataBaseDao.arg0
at com.talkweb.ecard.storage.service.impl.jaxws.SetDataBaseDao
com.talkweb.foundation.database.DataBaseDao does not have a no-arg default constructor.
this problem is related to the following location:
at com.talkweb.foundation.database.DataBaseDao
at private com.talkweb.foundation.database.DataBaseDao com.talkweb.ecard.storage.service.impl.jaxws.SetDataBaseDao.arg0
at com.talkweb.ecard.storage.service.impl.jaxws.SetDataBaseDao

at java.security.AccessController.doPrivileged(Native Method)
at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:148)
... 32 more
Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 4 counts of IllegalAnnotationExceptions
com.talkweb.apframe.common.service.ResourceService is an interface, and JAXB can't handle interfaces.
this problem is related to the following location:
at com.talkweb.apframe.common.service.ResourceService
at private com.talkweb.apframe.common.service.ResourceService com.talkweb.ecard.storage.service.impl.jaxws.SetResourceService.arg0
at com.talkweb.ecard.storage.service.impl.jaxws.SetResourceService
com.talkweb.apframe.common.service.ResourceService does not have a no-arg default constructor.
this problem is related to the following location:
at com.talkweb.apframe.common.service.ResourceService
at private com.talkweb.apframe.common.service.ResourceService com.talkweb.ecard.storage.service.impl.jaxws.SetResourceService.arg0
at com.talkweb.ecard.storage.service.impl.jaxws.SetResourceService
com.talkweb.foundation.database.DataBaseDao is an interface, and JAXB can't handle interfaces.
this problem is related to the following location:
at com.talkweb.foundation.database.DataBaseDao
at private com.talkweb.foundation.database.DataBaseDao com.talkweb.ecard.storage.service.impl.jaxws.SetDataBaseDao.arg0
at com.talkweb.ecard.storage.service.impl.jaxws.SetDataBaseDao
com.talkweb.foundation.database.DataBaseDao does not have a no-arg default constructor.
this problem is related to the following location:
at com.talkweb.foundation.database.DataBaseDao
at private com.talkweb.foundation.database.DataBaseDao com.talkweb.ecard.storage.service.impl.jaxws.SetDataBaseDao.arg0
at com.talkweb.ecard.storage.service.impl.jaxws.SetDataBaseDao

at com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:102)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:438)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:286)
at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139)
at com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:105)
at com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:153)
at com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:149)
... 34 more

解决办法:JAX-WS中不能用接口
分享到:
评论
1 楼 tianbo77 2015-12-10  
我有一个类似的问题,不知道大神是否还能看到,帮助一下,以下是错误代码
Dec 10, 2015 8:46:29 PM weblogic.wsee.jaxws.framework.policy.advertisementimpl.AdvertisementHelperImpl registerExtension
WARNING: Registering oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry extension failed; java.lang.ClassNotFoundException: oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry
Dec 10, 2015 8:46:29 PM com.sun.xml.ws.mex.client.MetadataClient retrieveMetadata
WARNING: [failed to localize] MEX0008.PARSING_MDATA_FAILURE(SOAP_1_2, http://88.88.4.87:6800/pdl_qzj/api/FontProcessorWs?wsdl)
Dec 10, 2015 8:46:29 PM weblogic.wsee.jaxws.spi.WLSServiceDelegate addWsdlDefinitionFeature
SEVERE: Failed to create WsdlDefinitionFeature for wsdl location: http://88.88.4.87:6800/pdl_qzj/api/FontProcessorWs?wsdl, error: com.sun.xml.ws.wsdl.parser.InaccessibleWSDLException, message: 2 counts of InaccessibleWSDLException.

<Dec 10, 2015 8:46:29 PM CST> <Error> <HTTP> <BEA-101020> <[ServletContext@1858345520[app:ui module:ui path:/tphi spec-version:2.5]] Servlet failed with Exception
javax.xml.ws.WebServiceException: Unable to create JAXBContext
at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:164)
at com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:94)
at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:281)
at com.sun.xml.ws.client.WSServiceDelegate.buildRuntimeModel(WSServiceDelegate.java:762)
at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate.buildRuntimeModel(WLSProvider.java:1026)
Truncated. see log file for complete stacktrace
Caused By: java.security.PrivilegedActionException: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 12 counts of IllegalAnnotationExceptions
Two classes have the same XML type name "{http://impl.ws.api.pdl.sinosoft.com/}setDetailCheckService". Use @XmlType.name and @XmlType.namespace to assign different names to them.
this problem is related to the following location:
at com.sinosoft.pdl.api.ws.impl.SetDetailCheckService
at public com.sinosoft.pdl.api.ws.impl.SetDetailCheckService com.sinosoft.pdl.api.ws.impl.ObjectFactory.createSetDetailCheckService()
at com.sinosoft.pdl.api.ws.impl.ObjectFactory
this problem is related to the following location:
at com.jdk6.sub.SetDetailCheckService
Two classes have the same XML type name "{http://impl.ws.api.pdl.sinosoft.com/}setDetailCheckServiceResponse". Use @XmlType.name and @XmlType.namespace to assign different names to them.
this problem is related to the following location:
at com.sinosoft.pdl.api.ws.impl.SetDetailCheckServiceResponse
at public com.sinosoft.pdl.api.ws.impl.SetDetailCheckServiceResponse com.sinosoft.pdl.api.ws.impl.ObjectFactory.createSetDetailCheckServiceResponse()
at com.sinosoft.pdl.api.ws.impl.ObjectFactory
this problem is related to the following location:
at com.jdk6.sub.SetDetailCheckServiceResponse
Two classes have the same XML type name "{http://impl.ws.api.pdl.sinosoft.com/}setFaiDataService". Use @XmlType.name and @XmlType.namespace to assign different names to them.
this problem is related to the following location:
at com.sinosoft.pdl.api.ws.impl.SetFaiDataService
at public com.sinosoft.pdl.api.ws.impl.SetFaiDataService com.sinosoft.pdl.api.ws.impl.ObjectFactory.createSetFaiDataService()
at com.sinosoft.pdl.api.ws.impl.ObjectFactory
this problem is related to the following location:
at com.jdk6.sub.SetFaiDataService
Two classes have the same XML type name "{http://impl.ws.api.pdl.sinosoft.com/}setFaiDataServiceResponse". Use @XmlType.name and @XmlType.namespace to assign different names to them.
this problem is related to the following location:
at com.sinosoft.pdl.api.ws.impl.SetFaiDataServiceResponse
at public com.sinosoft.pdl.api.ws.impl.SetFaiDataServiceResponse com.sinosoft.pdl.api.ws.impl.ObjectFactory.createSetFaiDataServiceResponse()
at com.sinosoft.pdl.api.ws.impl.ObjectFactory
this problem is related to the following location:
at com.jdk6.sub.SetFaiDataServiceResponse
Two classes have the same XML type name "{http://impl.ws.api.pdl.sinosoft.com/}setIncDataService". Use @XmlType.name and @XmlType.namespace to assign different names to them.
this problem is related to the following location:
at com.sinosoft.pdl.api.ws.impl.SetIncDataService
at public com.sinosoft.pdl.api.ws.impl.SetIncDataService com.sinosoft.pdl.api.ws.impl.ObjectFactory.createSetIncDataService()
at com.sinosoft.pdl.api.ws.impl.ObjectFactory
this problem is related to the following location:
at com.jdk6.sub.SetIncDataService
Two classes have the same XML type name "{http://impl.ws.api.pdl.sinosoft.com/}setIncDataServiceResponse". Use @XmlType.name and @XmlType.namespace to assign different names to them.
this problem is related to the following location:
at com.sinosoft.pdl.api.ws.impl.SetIncDataServiceResponse
at public com.sinosoft.pdl.api.ws.impl.SetIncDataServiceResponse com.sinosoft.pdl.api.ws.impl.ObjectFactory.createSetIncDataServiceResponse()
at com.sinosoft.pdl.api.ws.impl.ObjectFactory
this problem is related to the following location:
at com.jdk6.sub.SetIncDataServiceResponse
Two classes have the same XML type name "{http://impl.ws.api.pdl.sinosoft.com/}setSummaryCheckService". Use @XmlType.name and @XmlType.namespace to assign different names to them.
this problem is related to the following location:
at com.sinosoft.pdl.api.ws.impl.SetSummaryCheckService
at public com.sinosoft.pdl.api.ws.impl.SetSummaryCheckService com.sinosoft.pdl.api.ws.impl.ObjectFactory.createSetSummaryCheckService()
at com.sinosoft.pdl.api.ws.impl.ObjectFactory
this problem is related to the following location:
at com.jdk6.sub.SetSummaryCheckService
Two classes have the same XML type name "{http://impl.ws.api.pdl.sinosoft.com/}setSummaryCheckServiceResponse". Use @XmlType.name and @XmlType.namespace to assign different names to them.
this problem is related to the following location:
at com.sinosoft.pdl.api.ws.impl.SetSummaryCheckServiceResponse
at public com.sinosoft.pdl.api.ws.impl.SetSummaryCheckServiceResponse com.sinosoft.pdl.api.ws.impl.ObjectFactory.createSetSummaryCheckServiceResponse()
at com.sinosoft.pdl.api.ws.impl.ObjectFactory
this problem is related to the following location:
at com.jdk6.sub.SetSummaryCheckServiceResponse
Two classes have the same XML type name "{http://impl.ws.api.pdl.sinosoft.com/}setHisDataService". Use @XmlType.name and @XmlType.namespace to assign different names to them.
this problem is related to the following location:
at com.sinosoft.pdl.api.ws.impl.SetHisDataService
at public com.sinosoft.pdl.api.ws.impl.SetHisDataService com.sinosoft.pdl.api.ws.impl.ObjectFactory.createSetHisDataService()
at com.sinosoft.pdl.api.ws.impl.ObjectFactory
this problem is related to the following location:
at com.jdk6.sub.SetHisDataService
Two classes have the same XML type name "{http://impl.ws.api.pdl.sinosoft.com/}setHisDataServiceResponse". Use @XmlType.name and @XmlType.namespace to assign different names to them.
this problem is related to the following location:
at com.sinosoft.pdl.api.ws.impl.SetHisDataServiceResponse
at public com.sinosoft.pdl.api.ws.impl.SetHisDataServiceResponse com.sinosoft.pdl.api.ws.impl.ObjectFactory.createSetHisDataServiceResponse()
at com.sinosoft.pdl.api.ws.impl.ObjectFactory
this problem is related to the following location:
at com.jdk6.sub.SetHisDataServiceResponse
Two classes have the same XML type name "{http://impl.ws.api.pdl.sinosoft.com/}getResult". Use @XmlType.name and @XmlType.namespace to assign different names to them.
this problem is related to the following location:
at com.sinosoft.pdl.api.ws.impl.GetResult
at public com.sinosoft.pdl.api.ws.impl.GetResult com.sinosoft.pdl.api.ws.impl.ObjectFactory.createGetResult()
at com.sinosoft.pdl.api.ws.impl.ObjectFactory
this problem is related to the following location:
at com.jdk6.sub.GetResult
Two classes have the same XML type name "{http://impl.ws.api.pdl.sinosoft.com/}getResultResponse". Use @XmlType.name and @XmlType.namespace to assign different names to them.
this problem is related to the following location:
at com.sinosoft.pdl.api.ws.impl.GetResultResponse
at public com.sinosoft.pdl.api.ws.impl.GetResultResponse com.sinosoft.pdl.api.ws.impl.ObjectFactory.createGetResultResponse()
at com.sinosoft.pdl.api.ws.impl.ObjectFactory
this problem is related to the following location:
at com.jdk6.sub.GetResultResponse

at java.security.AccessController.doPrivileged(Native Method)
at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:151)
at com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:94)
at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:281)
at com.sun.xml.ws.client.WSServiceDelegate.buildRuntimeModel(WSServiceDelegate.java:762)
Truncated. see log file for complete stacktrace
Caused By: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 12 counts of IllegalAnnotationExceptions
Two classes have the same XML type name "{http://impl.ws.api.pdl.sinosoft.com/}setDetailCheckService". Use @XmlType.name and @XmlType.namespace to assign different names to them.
this problem is related to the following location:
at com.sinosoft.pdl.api.ws.impl.SetDetailCheckService
at public com.sinosoft.pdl.api.ws.impl.SetDetailCheckService com.sinosoft.pdl.api.ws.impl.ObjectFactory.createSetDetailCheckService()
at com.sinosoft.pdl.api.ws.impl.ObjectFactory
this problem is related to the following location:
at com.jdk6.sub.SetDetailCheckService
Two classes have the same XML type name "{http://impl.ws.api.pdl.sinosoft.com/}setDetailCheckServiceResponse". Use @XmlType.name and @XmlType.namespace to assign different names to them.
this problem is related to the following location:
at com.sinosoft.pdl.api.ws.impl.SetDetailCheckServiceResponse
at public com.sinosoft.pdl.api.ws.impl.SetDetailCheckServiceResponse com.sinosoft.pdl.api.ws.impl.ObjectFactory.createSetDetailCheckServiceResponse()
at com.sinosoft.pdl.api.ws.impl.ObjectFactory
this problem is related to the following location:
at com.jdk6.sub.SetDetailCheckServiceResponse
Two classes have the same XML type name "{http://impl.ws.api.pdl.sinosoft.com/}setFaiDataService". Use @XmlType.name and @XmlType.namespace to assign different names to them.
this problem is related to the following location:
at com.sinosoft.pdl.api.ws.impl.SetFaiDataService
at public com.sinosoft.pdl.api.ws.impl.SetFaiDataService com.sinosoft.pdl.api.ws.impl.ObjectFactory.createSetFaiDataService()
at com.sinosoft.pdl.api.ws.impl.ObjectFactory
this problem is related to the following location:
at com.jdk6.sub.SetFaiDataService
Two classes have the same XML type name "{http://impl.ws.api.pdl.sinosoft.com/}setFaiDataServiceResponse". Use @XmlType.name and @XmlType.namespace to assign different names to them.
this problem is related to the following location:
at com.sinosoft.pdl.api.ws.impl.SetFaiDataServiceResponse
at public com.sinosoft.pdl.api.ws.impl.SetFaiDataServiceResponse com.sinosoft.pdl.api.ws.impl.ObjectFactory.createSetFaiDataServiceResponse()
at com.sinosoft.pdl.api.ws.impl.ObjectFactory
this problem is related to the following location:
at com.jdk6.sub.SetFaiDataServiceResponse
Two classes have the same XML type name "{http://impl.ws.api.pdl.sinosoft.com/}setIncDataService". Use @XmlType.name and @XmlType.namespace to assign different names to them.
this problem is related to the following location:
at com.sinosoft.pdl.api.ws.impl.SetIncDataService
at public com.sinosoft.pdl.api.ws.impl.SetIncDataService com.sinosoft.pdl.api.ws.impl.ObjectFactory.createSetIncDataService()
at com.sinosoft.pdl.api.ws.impl.ObjectFactory
this problem is related to the following location:
at com.jdk6.sub.SetIncDataService
Two classes have the same XML type name "{http://impl.ws.api.pdl.sinosoft.com/}setIncDataServiceResponse". Use @XmlType.name and @XmlType.namespace to assign different names to them.
this problem is related to the following location:
at com.sinosoft.pdl.api.ws.impl.SetIncDataServiceResponse
at public com.sinosoft.pdl.api.ws.impl.SetIncDataServiceResponse com.sinosoft.pdl.api.ws.impl.ObjectFactory.createSetIncDataServiceResponse()
at com.sinosoft.pdl.api.ws.impl.ObjectFactory
this problem is related to the following location:
at com.jdk6.sub.SetIncDataServiceResponse
Two classes have the same XML type name "{http://impl.ws.api.pdl.sinosoft.com/}setSummaryCheckService". Use @XmlType.name and @XmlType.namespace to assign different names to them.
this problem is related to the following location:
at com.sinosoft.pdl.api.ws.impl.SetSummaryCheckService
at public com.sinosoft.pdl.api.ws.impl.SetSummaryCheckService com.sinosoft.pdl.api.ws.impl.ObjectFactory.createSetSummaryCheckService()
at com.sinosoft.pdl.api.ws.impl.ObjectFactory
this problem is related to the following location:
at com.jdk6.sub.SetSummaryCheckService
Two classes have the same XML type name "{http://impl.ws.api.pdl.sinosoft.com/}setSummaryCheckServiceResponse". Use @XmlType.name and @XmlType.namespace to assign different names to them.
this problem is related to the following location:
at com.sinosoft.pdl.api.ws.impl.SetSummaryCheckServiceResponse
at public com.sinosoft.pdl.api.ws.impl.SetSummaryCheckServiceResponse com.sinosoft.pdl.api.ws.impl.ObjectFactory.createSetSummaryCheckServiceResponse()
at com.sinosoft.pdl.api.ws.impl.ObjectFactory
this problem is related to the following location:
at com.jdk6.sub.SetSummaryCheckServiceResponse
Two classes have the same XML type name "{http://impl.ws.api.pdl.sinosoft.com/}setHisDataService". Use @XmlType.name and @XmlType.namespace to assign different names to them.
this problem is related to the following location:
at com.sinosoft.pdl.api.ws.impl.SetHisDataService
at public com.sinosoft.pdl.api.ws.impl.SetHisDataService com.sinosoft.pdl.api.ws.impl.ObjectFactory.createSetHisDataService()
at com.sinosoft.pdl.api.ws.impl.ObjectFactory
this problem is related to the following location:
at com.jdk6.sub.SetHisDataService
Two classes have the same XML type name "{http://impl.ws.api.pdl.sinosoft.com/}setHisDataServiceResponse". Use @XmlType.name and @XmlType.namespace to assign different names to them.
this problem is related to the following location:
at com.sinosoft.pdl.api.ws.impl.SetHisDataServiceResponse
at public com.sinosoft.pdl.api.ws.impl.SetHisDataServiceResponse com.sinosoft.pdl.api.ws.impl.ObjectFactory.createSetHisDataServiceResponse()
at com.sinosoft.pdl.api.ws.impl.ObjectFactory
this problem is related to the following location:
at com.jdk6.sub.SetHisDataServiceResponse
Two classes have the same XML type name "{http://impl.ws.api.pdl.sinosoft.com/}getResult". Use @XmlType.name and @XmlType.namespace to assign different names to them.
this problem is related to the following location:
at com.sinosoft.pdl.api.ws.impl.GetResult
at public com.sinosoft.pdl.api.ws.impl.GetResult com.sinosoft.pdl.api.ws.impl.ObjectFactory.createGetResult()
at com.sinosoft.pdl.api.ws.impl.ObjectFactory
this problem is related to the following location:
at com.jdk6.sub.GetResult
Two classes have the same XML type name "{http://impl.ws.api.pdl.sinosoft.com/}getResultResponse". Use @XmlType.name and @XmlType.namespace to assign different names to them.
this problem is related to the following location:
at com.sinosoft.pdl.api.ws.impl.GetResultResponse
at public com.sinosoft.pdl.api.ws.impl.GetResultResponse com.sinosoft.pdl.api.ws.impl.ObjectFactory.createGetResultResponse()
at com.sinosoft.pdl.api.ws.impl.ObjectFactory
this problem is related to the following location:
at com.jdk6.sub.GetResultResponse

at com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:106)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:480)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:310)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:146)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1169)
Truncated. see log file for complete stacktrace
>

相关推荐

    javax.xml.rpc相关jar包

    描述中提到的“解决javax.xml jar包缺失的问题,引进javax.xml.rpc-api-1.1.1.jar”,意味着在开发或运行某个Java项目时,可能会遇到由于缺少`javax.xml.rpc`相关的jar包导致的编译或运行错误。为了解决这个问题,...

    javax.xml.bind.jar

    【标签】"javax.xml.ws javax.xml.ws javax.jws-3." 这些标签强调了XML web服务和相关技术在这些库中的重要性。`javax.xml.ws`通常指的是JAX-WS,它提供了在Java中构建和使用Web服务所需的基础框架,包括服务接口、...

    javax.xml.ws.Service 报错需要的包

    在Java开发中,`javax.xml.ws.Service` 是一个核心组件,属于Java API for XML Web Services (JAX-WS)的一部分,用于创建客户端和服务端的Web服务代理。报错通常表明缺少必要的依赖包,这可能会影响到程序的正常运行...

    javax.xml.rpc

    "javax.xml.rpc"是Java平台中的一个关键组件,主要用于实现基于XML的远程过程调用(XML-RPC)服务。这个框架允许Java应用程序通过HTTP协议来调用远程服务器上的方法,从而实现分布式计算。在Java EE环境中,它常与...

    Unable to load class ‘javax.xml.bind.JAXBException‘(csdn).pdf

    在Android Studio中遇到"Unable to load class ‘javax.xml.bind.JAXBException‘"的错误,通常是由于Java运行时环境(JRE)或开发工具包(JDK)与项目的兼容性问题导致的。`javax.xml.bind.JAXBException`是Java的...

    javax.xml.ws.Service

    【javax.xml.ws.Service】是Java平台上用于Web服务客户端的一个核心接口,它位于Java Web Services (JWS) API中,主要用于创建和使用Web服务。这个接口是JAX-WS(Java API for XML Web Services)规范的一部分,它...

    jdk10+ java.lang.NoClassDefFoundError: javax/xml/ws/Service 错误

    - `jakarta.xml.ws-api`:Jakarta XML Web Services API,提供对Web服务的支持,包括`javax.xml.ws.Service`类。 - `jaxws-rt`:Java API for XML Web Services运行时库,提供了Web服务客户端和服务器端的实现。 ...

    javax.xml.bind.jar和三个sqljdbc4x.jar

    javax.xml.bind.jar和三个sqljdbc4x.jar;实测可用。用于sqlserver连接和出现Java 9 及以上 eclipse 链接 SQL数据库 抛出 java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter 异常

    javax.xml.stream_1.0.1.v201004272200.jar

    javax.xml.stream_1.0.1.v201004272200.jar

    com.springsource.javax.xml.rpc-1.1.0.jar

    jar包,官方版本,自测可用

    javax.ws.rs-api-2.0.1-API文档-中文版.zip

    赠送jar包:javax.ws.rs-api-2.0.1.jar; 赠送原API文档:javax.ws.rs-api-2.0.1-javadoc.jar; 赠送源代码:javax.ws.rs-api-2.0.1-sources.jar; 赠送Maven依赖信息文件:javax.ws.rs-api-2.0.1.pom; 包含翻译后...

    javax.xml.bind.jar 包

    在集成阿里云移动推送时,部署到服务器的时候遇到了java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter 错误,产生原因是缺少javax.xml.bind.DatatypeConverter

    javax.ws的jar包

    【标题】:“javax.ws的jar包” 在Java开发中,`javax.ws` 是一个重要的包,它包含了用于创建Web服务的API。这个jar包主要针对Java API for RESTful Web Services (JAX-RS),这是一种标准的Java编程接口,用于简化...

    javax.ws.rs-api-2.0-API文档-中文版.zip

    赠送jar包:javax.ws.rs-api-2.0.jar; 赠送原API文档:javax.ws.rs-api-2.0-javadoc.jar; 赠送源代码:javax.ws.rs-api-2.0-sources.jar; 赠送Maven依赖信息文件:javax.ws.rs-api-2.0.pom; 包含翻译后的API文档...

    javax.xml.soap-api-1.4.0.jar

    安卓sdk找不到的api,因此需要引入额外的jar包1

    JAXBContext测试Java对象与xml的相互转换Demo

    import javax.xml.bind.JAXBContext; import javax.xml.bind.Marshaller; import javax.xml.bind.Unmarshaller; // ... JAXBContext jaxbContext = JAXBContext.newInstance(Person.class); Unmarshaller ...

    javax.servlet-3.0.0.v201112011016-API文档-中文版.zip

    赠送jar包:javax.servlet-3.0.0.v201112011016.jar; 赠送原API文档:javax.servlet-3.0.0.v201112011016-javadoc.jar; 赠送源代码:javax.servlet-3.0.0.v201112011016-sources.jar; 赠送Maven依赖信息文件:...

Global site tag (gtag.js) - Google Analytics