File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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)
 
jQuery in Action, 2nd edition
 
subject: LinkageError
 
Similar Threads
Connection timed out: connect
Error in Applet Viewing - Rules RoundUp Game
Why Is Tomcat 4 Doing This?
New To JSP
cant run Java rules round up game