File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader" Watch "java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader" New topic
Author

java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader

Nick Sher
Ranch Hand

Joined: Nov 10, 2008
Posts: 78
Hello,

I am not sure what is going on here. It runs fine on one machine but not the other. Here is the stracktrace:



I have JDK 6 on both machines and tomcat 6.

I googled a bit about this issue but no help. The online help talked about copying few jars to endorsed directory. But I don't have any endorsed directory in JDK, JRE or Tomcat.

Please help.


Nick
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18135
    
    8

You don't have an endorsed standards directory? Then make one. Unfortunately the link mentioned in the stack trace seems to be broken at the moment, while Oracle moves all the Java pages from sun.com to oracle.com. (but you did try to follow it, didn't you?) So here's a link to someone else who explains it for you, which I found after a couple of minutes googling: http://futuretask.blogspot.com/2005/01/java-tip-4-endorsed-standards-override.html.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader
 
Similar Threads
Linkage error in Jboss 4 & 3.2.7 when using Jaxb2
Stupid Question: Where the heck can I download JAX-WS?
JAXB/reflection exceptions (unable to inject)
JBoss 5.0.0 RC newbie!
Facing problem to run JAXB in JDK- 1.6