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/)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1652

  • 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, 10 months 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/)
  • 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
  • Stack trace

    • 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.<clinit>(ModelBuilder.java:172) at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:422) at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:286) at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 month ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago