java.lang.LinkageError

JAXB 2.0 API is being loaded from the bootstrap classloa der, but this RI (from jar:file:/C:/Documents%20and%20Settings/hari.HARI-19A1A35 ECE/.m2/repository/com/sun/xml/bind/jaxb-impl/2.1.9/jaxb-impl-2.1.9.jar!/com/sun /xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed dire ctory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http:// java.sun.com/j2se/1.5.0/docs/guide/standards/)

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web9

Stack trace

  • java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloa der, but this RI (from jar:file:/C:/Documents%20and%20Settings/hari.HARI-19A1A35 ECE/.m2/repository/com/sun/xml/bind/jaxb-impl/2.1.9/jaxb-impl-2.1.9.jar!/com/sun /xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed dire ctory mechanism to place 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.<init>(ModelBuilder.java:173) at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:432)

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

We couldn't find other users who have seen this exception.