JBoss从4.3升级到5.1,java.lang.LinkageError

时间:2016-10-07 05:02:40

标签: jboss5.x jboss-4.2.x

您好我正在研究JBoss从4.3升级到5.1。应用程序(使用Maven构建)部署时没有任何错误,但在登录后丢失以下错误。你能告诉我我错过了什么吗?

ERROR [Test Logger] java.lang.LinkageError: loader constraint violation:
when resolving method "org.jboss.ws.core.jaxrpc.client.ServiceFactoryImpl.createService(Ljava/net/URL;Ljavax/xml/namespace/QName;Ljava/net/URL;)Ljavax/xml/rpc/Service;" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current class, com/test/test1/test2/test3/service/TestServiceImpl, and the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) for resolved class, org/jboss/ws/core/jaxrpc/client/ServiceFactoryImpl, have different Class objects for the type javax/xml/namespace/QName used in the signature
javax.servlet.ServletException: java.lang.LinkageError: loader constraint violation: when resolving method
        at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:294)    
  at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187)
        at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
        at com.test.test1.test2.action.TestRequestProcessor.process(TestRequestProcessor.java:86)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
        at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

0 个答案:

没有答案