问题描述
环境:WebSphere6.l把Classloadermode从默认的Parent_First改成Parent_Last,让程序先读自己的class文件以及jar包时,在加载webservice时出现如下求解:[13-4-127:41:43:521GMT]0000003dhttpIWSSERVLET12:JAX-WScontextlistenerinitializing[13-4-127:41:44:011GMT]0000003dserverIDynamicallycreatingrequestwrapperClasscom.yss.webservice.jaxws.GetRoles[13-4-127:41:44:014GMT]0000003dserverIDynamicallycreatingresponsewrapperbeanClasscom.yss.webservice.jaxws.GetRolesResponse[13-4-127:41:44:065GMT]0000003dserverIDynamicallycreatingrequestwrapperClasscom.yss.webservice.jaxws.YssGetUnitNAV[13-4-127:41:44:069GMT]0000003dserverIDynamicallycreatingresponsewrapperbeanClasscom.yss.webservice.jaxws.YssGetUnitNAVResponse[13-4-127:41:44:072GMT]0000003dserverIDynamicallycreatingrequestwrapperClasscom.yss.webservice.jaxws.GetZDInfo[13-4-127:41:44:076GMT]0000003dserverIDynamicallycreatingresponsewrapperbeanClasscom.yss.webservice.jaxws.GetZDInfoResponse[13-4-127:41:44:080GMT]0000003dserverIDynamicallycreatingrequestwrapperClasscom.yss.webservice.jaxws.ReadYhZqXxData[13-4-127:41:44:084GMT]0000003dserverIDynamicallycreatingresponsewrapperbeanClasscom.yss.webservice.jaxws.ReadYhZqXxDataResponse[13-4-127:41:44:087GMT]0000003dserverIDynamicallycreatingrequestwrapperClasscom.yss.webservice.jaxws.ReadYhHgXxData[13-4-127:41:44:091GMT]0000003dserverIDynamicallycreatingresponsewrapperbeanClasscom.yss.webservice.jaxws.ReadYhHgXxDataResponse[13-4-127:41:44:095GMT]0000003dserverIDynamicallycreatingrequestwrapperClasscom.yss.webservice.jaxws.CreateJbCs[13-4-127:41:44:099GMT]0000003dserverIDynamicallycreatingresponsewrapperbeanClasscom.yss.webservice.jaxws.CreateJbCsResponse[13-4-127:41:44:103GMT]0000003dserverIDynamicallycreatingrequestwrapperClasscom.yss.webservice.jaxws.GetGzbDataForBH[13-4-127:41:44:107GMT]0000003dserverIDynamicallycreatingresponsewrapperbeanClasscom.yss.webservice.jaxws.GetGzbDataForBHResponse[13-4-127:41:44:351GMT]0000003dhttpEWSSERVLET11:failedtoparseruntimedescriptor:java.lang.VerifyErrorjava.lang.VerifyErroratcom.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl.<clinit>(RuntimeBuiltinLeafInfoImpl.java:224)atjava.lang.J9VMInternals.initializeImpl(NativeMethod)atjava.lang.J9VMInternals.initialize(J9VMInternals.java:177)atcom.sun.xml.bind.v2.model.impl.RuntimeTypeInfoSetImpl.<init>(RuntimeTypeInfoSetImpl.java:61)atcom.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:129)atcom.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:81)atcom.sun.xml.bind.v2.model.impl.ModelBuilder.<init>(ModelBuilder.java:152)atcom.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.<init>(RuntimeModelBuilder.java:89)atcom.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:431)atcom.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:288)......
解决方案
解决方案二:
Thankyouverymuch