2017-02-18 66 views
0

的我正在肥皂互聯網服務和錯誤的情況下,我得到異常下面。可有人請幫助我瞭解如何解決此問題:未知JAXB實現櫃面SOAP錯誤

[加載了com.sun.xml。 ws.message.jaxb.AttachmentMarshallerImpl from file:/ C:/Oracle/Middleware/Oracle_Home/oracle_common/modules/com.sun.xml.ws.jaxws-rt_2.2.jar] Feb 18,2017 2:06:47 AM com.sun.xml.ws.transport.http.HttpAdapter $ HttpToolkit句柄 SEVERE:未知的JAXBContext實現:class com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl com.sun.xml.ws.spi .db.DatabindingException:未知的JAXBContext實現:class com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl 在com.sun.xml.ws.spi.db.BindingContextFactory.getJAXBFactory(BindingContextFactory.java:207) 在com.sun.xml.ws.spi.db.BindingContextFactory.create(BindingContextFactory.java:149) 在com.sun.xml.ws.message.jaxb.JAXBMe​​ssage.create(JAXBMe​​ssage.java:167) at com.sun.xml.ws.fault.SOAPFaultBuilder.createSOAP11Fault(SOAPFaultBuilder.java:439) at com.sun。 xml.ws.fault.SOAPFaultBuilder.createSOAPFaultMessage(SOAPFaultBuilder.java:216) at com.sun.xml.ws.fault.SOAPFaultBuilder.createSOAPFaultMessage(SOAPFaultBuilder.java:204) at com.sun.xml.ws.server。 WSEndpointImpl $ 2.process(WSEndpointImpl.java:425) at com.sun.xml.ws.transport.http.HttpAdapter $ HttpToolkit.handle(HttpAdapter.java:868) at com.sun.xml.ws.transport.http .HttpAdapter。處理(HttpAdapter.java:422) at com.sun.xml.ws.transport.http.servlet.ServletAdapter.invokeAsync(ServletAdapter.java:225) at com.sun.xml.ws.transport.http.servlet。 WSServletDelegate.doGet(WSServletDelegate.java:161) at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:197) at com.sun.xml.ws.transport.http。在javax.servlet.http.HttpServlet.service(HttpServlet.java:844) at weblogic.servlet.internal.StubSecurityHelper $ ServletServiceAction.run(StubSecurityHelper.java:280) at weblogic.servlet.internal.StubSecurityHelper $ ServletServiceAction.run(StubSecurityHelper.java:254) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl。 Java的:243) 在weblogic.servlet.internal.WebAppServletContext $ ServletInvocationAction.wrapRun(WebAppServletContext.java:3432) 在weblogic.servlet.internal.WebAppServletContext $ ServletInvocationAction.run(WebAppServletContext.java:3402) 在weblogic.security。 acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57) at w eblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285) 在weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201) 在weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java: 2179) 在weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572) 在weblogic.servlet.provider.ContainerSupportProviderImpl $ WlsRequestExecutor.run(ContainerSupportProviderImpl.java:255) 在weblogic.work.ExecuteRequestAdapter.execute( ExecuteRequestAdapter.java:21) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:147) at weblogic.kernel.ExecuteThread.run(ExecuteThread。java:119)

回答

1

我試過在各種博客上尋找答案,但找不到答案。然後我解編罐子,發現下面有助於解決這個錯誤。錯誤是因爲JDK和weblogic中具有不同版本的類。

-Djavax.xml.bind.JAXBContext=com.sun.xml.bind.v2.ContextFactory 
+0

非常感謝反編譯!有用! 但在控制檯中出現此錯誤:SRVE0255E:處理/ IBM/console /的WebGroup /虛擬主機尚未定義。你修好了嗎? – Matteo