tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dale Ogilvie" <>
Subject RE: ClassCastException org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl
Date Tue, 21 Aug 2012 22:35:10 GMT
>-----Original Message-----
>From: Pid * [] 
>Where is that dependency JSP jar from?
>It should not be in WEB-INF/lib if it's providing JSP functionality.

The manifest for the jar says "JSP 2.1 Jasper implementation from Glassfish", and yeah it
was bad practice for maven to include that in our app2 for us.

Regardless of where the jar is coming from, it still seems bad to me that Tomcat will respond
to my request of app1 by loading a class from app2/WEB-INF/lib/jsp-2.1-6.1.14.jar.

I think Mark Thomas was saying that Tomcat was preventing loading of classes outside of Tomcat
and app1, the vm classloading output seems to suggest otherwise.

View raw message