This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Nick Sher
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Paul Clapham
Sheriff
Pie
Posts: 20771
30
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic