Manish
asked on
java.lang.LinkageError: loader constraint violation
I am getting following exception while deploying application on jetty server using maven.(mvn -o jetty:run -u)
java.lang.LinkageError: loader constraint violation: loader (instance of org/mortbay/jetty/webapp/W ebAppClass Loader) previously initiated loading for a different type with name "javax/management/MBeanSer ver"
How to resolve this.?
/manish
java.lang.LinkageError: loader constraint violation: loader (instance of org/mortbay/jetty/webapp/W
How to resolve this.?
/manish
ASKER
Sorry I am not able to open above link.
Some imp part can you paste?
Some imp part can you paste?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Check if you have a jmx.jar within your application as well as in Jetty. Remove yours and test...
ASKER
No, I didnt find jmx jar in our application.
ASKER
Thanks.
great explanation of it here
http://frankkieviet.blogspot.com/2009/03/javalanglinkageerror-loader-constraint.html