aspose 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: 18993
    
    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