title: In Tomcat, java.lang.LinkageError: JAXB 2.1 API is being loaded from the bootstrap classloader
body: <p>I am trying to load my webapp into Tomcat. It seems to be complaining that it has an older version of a JAR than my application. Should I remove that older JAR, use a newer version of Java, edit the bootstrap classloader (how?) or what?</p>
  <blockquote>
  <p>Message: JAXB 2.1 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/SkillsDB/WEB-INF/lib/jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.2 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See <a href="http://java.sun.com/j2se/1.6.0/docs/guide/standards/" rel="nofollow noreferrer">http://java.sun.com/j2se/1.6.0/docs/guide/standards/</a>)</p>
  <p>Caused by: Executing action [getDocx] of controller [FormattedDocumentController] caused exception: <code>java.lang.LinkageError</code>: JAXB 2.1 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/SkillsDB/WEB-INF/lib/jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.2 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See <a href="http://java.sun.com/j2se/1.6.0/docs/guide/standards/" rel="nofollow noreferrer">http://java.sun.com/j2se/1.6.0/docs/guide/standards/</a>)</p>
  </blockquote>