This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

LinkageError  RSS feed

 
Mike Broadbear
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!