jQuery in Action, 3rd edition
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


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
It's not a secret anymore!