| Author |
Class javax /xml /rpc /encoding /TypeMappingRegistry violates loader constraints
|
Askar Kalykov
Greenhorn
Joined: Nov 24, 2005
Posts: 2
|
|
I have web service MyService on server side and two clients on my computer. Clients are webapps and have the same service-stub.jars; one of them starts sucessfully and another throws exception below: Both applications cunstructs their stubs in ServletContextListener.contextInitialized() with this code: I don't really understand what's the point..
|
 |
Rick Fischer
Greenhorn
Joined: May 15, 2003
Posts: 19
|
|
|
I am having the same problem. Did you ever get this resolved?
|
 |
Campbell Moss
Greenhorn
Joined: Feb 11, 2008
Posts: 1
|
|
See http://www.coderanch.com/t/128344/XML/Class-violates-Loader-COnstraints I managed to fix this error by removing all classes under the javax package from the .war file - these should be in the app server's classpath anyway, so shouldn't need to be in the deployed package.
|
 |
 |
|
|
subject: Class javax /xml /rpc /encoding /TypeMappingRegistry violates loader constraints
|
|
|