0 Replies Latest reply on Jun 3, 2014 2:46 AM by pradeepsixer

    LinkageError: loader constraint violation

    pradeepsixer

      Caused by: java.lang.LinkageError: loader constraint violation: when resolving field "service" the class loader (instance of org/jboss/modules/ModuleClassLoader) of the referring class, org/apache/axis/client/Stub, and the class loader (instance of org/jboss/modules/ModuleClassLoader) for the field's resolved type, s/ModuleClassLoader, have different Class objects for that type

       

      This org.apache.axis.client.Stub class is only within 'axis.jar' in the whole ear. And this jar is mentioned only within the module.xml of that module and it is included in the jboss-deployment-descriptor.xml only once. So what could have possibly gone wrong here ?