Good afternoon everyone
I encountered such a problem as a communication error:
java.lang.LinkageError: loader constraint violation: when resolving method "javax.xml.transform.Transformer.transform(Ljavax/xml/transform/Source;Ljavax/xml/transform/Result;)V" the class loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) of the current class, org/richfaces/renderkit/TemplateEncoderRendererBase, and the class loader (instance of <bootloader>) for resolved class, javax/xml/transform/Transformer, have different Class objects for the type javax/xml/transform/Source used in the signature
I have a lot of googled, but all I found was a suggestion to exclude libraries such as xml-apis-2.9.1.jar or jaxrpc-1.1.jar from the classpath. I did this, but I still have the same error. This library is actually included in jdk 1.6 (rt.jar).
So, I checked all my included jars, and there seemed to be no boxes that could use the target class ...
Maybe I'm not taking something into account? is there some kind of magic trick?
Thanks for the help in advance.
source share