java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/Dev/tools/jboss-4.2.2.GA/server/default/tmp/deploy/tmp10795jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to plac e jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JBoss Issue Tracker by cai jc, 1 year ago
JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/Dev/tools/jboss-4.2.2.GA/server/default/tmp/deploy/tmp10795jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to plac e jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
via JBoss Issue Tracker by cai jc, 1 year ago
JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/Dev/tools/jboss-4.2.2.GA/server/default/tmp/deploy/tmp10795jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to plac e jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
via jboss.org by Unknown author, 1 year ago
JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar: file:/C:/Dev/tools/jboss-4.2.2.GA/server/default/tmp/deploy/tmp10795jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class ) needs 2.1 API. Use the
via Atlassian JIRA by Tim Pettersen [Atlassian], 1 year ago
JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/home/fisheye/lib/jaxb-impl-2.1.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) 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/standards/)
via Atlassian JIRA by Tim Pettersen, 1 year ago
JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/home/fisheye/lib/jaxb-impl-2.1.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) 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/standards/)
via boyunjian.com by Unknown author, 1 year ago
JAXB 2.1 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/E:/javaLib/cxf_all_jar/jaxb-impl-2.2.1.1.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 http://java.sun.com/j2se/1.6.0/docs/guide/standards/)
java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/Dev/tools/jboss-4.2.2.GA/server/default/tmp/deploy/tmp10795jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to plac e jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
at com.sun.xml.bind.v2.model.impl.ModelBuilder.(ModelBuilder.java:172)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:422)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.(JAXBContextImpl.java:286)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.