readthefuckingmanual.net

[SOLVED] java.lang.LinkageError: loader constraint violation: loader (instance of org/apache/jasper/servlet/JasperLoader) previously initiated loading for a different type with name "javax/servlet/http/HttpServletRequest"

Error added: 2010-05-20T14:38:46Z

1 people waiting for the answer...

4 answers found.

Answer 1370 (72.72727% helpful)

this is not solution for all cases . I am also getting this error and I am not packaging servlet-api.jar
Permalink

Answer 1772 (50.0% helpful)

Remove servlet-api.jar from your war file. if it is not there, search for javax folder with javax/servlet/http/HttpServlet structure, and remove that from the lib folder of your war.
Permalink

Answer 1363 (0.0% helpful)

Don\'t package servlet-api.jar with your .war file.
Permalink

Answer 1974 (0.0% helpful)

works for me 
Permalink

Add an answer/solution

If you know the answer, please add your own solution below.
If you don't know, but find out later, please come back and share your answer - there will be other people struggling with this too.


Please enter 61948 here

If you want to be notified via email when this is solved, enter your email address here: