`

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
>

相关推荐

Global site tag (gtag.js) - Google Analytics