I'm getting this error when trying to access my webservice running inside tomcat.
Caused by: java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstr
ap classloader, but this RI (from jar:file:/C:/software/tomcat6/webapps/messagin
g/WEB-INF/lib/jaxb-impl-2.1.5.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.c
lass) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar
in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/sta
ndards/)
I googled for the error and did what should solve it (I put jaxb-api.jar, version 2.1 in JDK/lib/endorsed and JDK/jre/lib/endorsed) but it doesn't appear to have any effect.
I didn't have it before, and I'm not sure what was changed. I use JDK 6u10.