You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Tamás Horváth <ta...@gmail.com> on 2008/07/19 10:47:42 UTC
JAXB 2.1
Hi,
I get the following error:
[ERROR] JAXB 2.0 API is being loaded from the bootstrap classloader,
but this RI (from
jar:file:/U:/munkához%20eszkozok/apache-tomcat-6.0.16/webapps/axis2/WEB-INF/lib/jaxb-impl-2.1.6.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/)
java.lang.LinkageError: JAXB 2.0 API is being loaded from the
bootstrap classloader, but this RI (from
jar:file:/U:/munkához%20eszkozok/apache-tomcat-6.0.16/webapps/axis2/WEB-INF/lib/jaxb-impl-2.1.6.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/)
Now I read this.
http://java.sun.com/j2se/1.4.2/docs/guide/standards/
And this:
http://weblogs.java.net/blog/ramapulavarthi/archive/2007/01/problems_using.html
I've done these things (with 2.1.7 and 2.1.6) but still get this error.
Can somebody tell me how to fix this problem.
Thanks.
--
Horváth Tamás
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: JAXB 2.1
Posted by Fabien Couvert <fa...@bull.net>.
Hi,
did you found a solution ?
I have the same problem when I migrated from Axis2 1.3 to Axis2 1.4
Thank you
Tamás Horváth a écrit :
> Hi,
>
>
> I get the following error:
>
> [ERROR] JAXB 2.0 API is being loaded from the bootstrap classloader,
> but this RI (from
> jar:file:/U:/munkához%20eszkozok/apache-tomcat-6.0.16/webapps/axis2/WEB-INF/lib/jaxb-impl-2.1.6.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/)
> java.lang.LinkageError: JAXB 2.0 API is being loaded from the
> bootstrap classloader, but this RI (from
> jar:file:/U:/munkához%20eszkozok/apache-tomcat-6.0.16/webapps/axis2/WEB-INF/lib/jaxb-impl-2.1.6.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/)
>
> Now I read this.
> http://java.sun.com/j2se/1.4.2/docs/guide/standards/
> And this:
> http://weblogs.java.net/blog/ramapulavarthi/archive/2007/01/problems_using.html
>
> I've done these things (with 2.1.7 and 2.1.6) but still get this error.
>
> Can somebody tell me how to fix this problem.
>
> Thanks.
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org