This week's book / license giveaways are in the JDBC and Relational Databases and Java in General forums.
We're giving away four copies each of PostGIS in Action and Java Advanced Topics Training and have the authors on-line!
See this thread and this one for details.
The moose likes Java in General and the fly likes LinkageError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "LinkageError" Watch "LinkageError" New topic
Author

LinkageError

Mike Broadbear
Ranch Hand

Joined: Jan 14, 2002
Posts: 39
I'm getting the following error when I try to access an ejb from a jsp page. I have read several interpretations of the LinkageError. The gist of the cause seems to be multiple, non-identical versions of a class in the classpath. I am most interested to know how to figure out specifically what class is causing the error and why. How do I isolate the problem and fix it?

java.lang.LinkageError: loader constraints violated when linking org/cayambe/core/CategoryVO class
at org.cayambe.client.CategoryDelegate.listCategories(Unknown Source)
at org.cayambe.web.admin.action.ListCategoriesAction.perform(Unknown Source)
at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1787)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: LinkageError