java.lang.LinkageError: Class violates loader constraints 

Joined:
04/09/2007
Posts:
565

January 07, 2010 22:56:20    Last update: March 22, 2010 01:52:48
If the error reads:
java.lang.LinkageError: Class javax/xml/rpc/encoding/TypeMappingRegistry violates loader constraints


then the class javax.xml.rpc.encoding.TypeMappingRegistry is loaded by two or more different class loaders, and the versions are not compatible. For example, one might be under WEB-INF/lib, another might be loaded through an EJB. The solution is to get rid of the duplicate versions.
[ Comment  | Tags ]
 
Easy email testing with http://www.ximailstop.com