2 Replies Latest reply on Mar 11, 2014 8:41 AM by Ken Finnigan

    java.lang.LinkageError: loader constraint violation

    ivan peravka Newbie

      127 SEVERE [com.sun.xml.ws.server.sei.EndpointMethodHandler] (http-127.0.0.1/127.0.0.1:8080-1) loader constraint violation: when resolving method "org.jboss.ejb.client.EJBClientContext.registerConnection(Lorg/jboss/remoting3/Connection;)V" the class loader (instance of org/jboss/modules/ModuleClassLoader) of the current class, org/jboss/naming/remote/client/ejb/RemoteNamingStoreEJBClientHandler, and the class loader (instance of org/jboss/modules/ModuleClassLoader) for resolved class, org/jboss/ejb/client/EJBClientContext, have different Class objects for the type org/jboss/remoting3/Connection used in the signature: java.lang.LinkageError: loader constraint violation: when resolving method

       

      "org.jboss.ejb.client.EJBClientContext.registerConnection(Lorg/jboss/remoting3/Connection;)V" the class loader (instance of org/jboss/modules/ModuleClassLoader) of the current class, org/jboss/naming/remote/client/ejb/RemoteNamingStoreEJBClientHandler, and the class loader (instance of org/jboss/modules/ModuleClassLoader) for resolved class, org/jboss/ejb/client/EJBClientContext, have different Class objects for the type org/jboss/remoting3/Connection used in the signature

       

      Please help with the issue. I found various fixes on this forum and other sites but none of that explains how to fix it step by step.