-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Neill,

On 3/20/15 12:28 PM, Neill Lima wrote:
> As of today I figured out that the jasper.jar in Tomcat's \lib
> takes care of the task out of the box. I've tweaked my pom a few
> times, but I started fresh today and realized it. So no pom updates
> were necessary. Still I'm getting this exception I mentioned in the
> earlier e-mail:
> 
> Caused by: java.lang.LinkageError: loader constraint violation:
> when resolving method 
> "org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(Ljavax/servlet/ServletConfig;)Lorg/apache/tomcat/InstanceManager;"
>
> 
the class loader (instance of org/apache/catalina/loader/WebappClassLoader)
> of the current class, jsp/WEB_002dINF/jsp/home_005fpage_jsp, and
> the class loader (instance of java/net/URLClassLoader) for the
> method's defining class,
> org/apache/jasper/runtime/InstanceManagerFactory, have different 
> Class objects for the type org/apache/tomcat/InstanceManager used
> in the signature at 
> jsp.WEB_002dINF.jsp.home_005fpage_jsp._jspInit(home_005fpage_jsp.java:128)
>
> 
at org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:49) at
> org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1231)
>
>  It does not happen on my current Tomcat7 deploy though.

Do you have any other Tomcat-provided libraries in your web
applications' WEB-INF/lib directory?

That can cause all kinds of problems.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJVEuXfAAoJEBzwKT+lPKRYhhgP/imvJyCrUmMw73gkqr/5fUVr
rmucRx+GaNscY51Bj3boXco/2ANyQDUnIvbubdz57bDzqb6r+Jz7t6rfuK5H27sJ
W0Kzu0Et7r8Ec9RQPBZ1iRz7jWdG0/DzRsGMcee7APzoomI3mUa0veJDpto3JKbo
hacvB1SaLX7xatUI3GEQcBB6i15kF2Pu3khylQjUH9XMOd+QwFBah74h1DnwGzAZ
j5V6VCRaeXAq314qGBFv+SE/3XeCJuKsranRvuatJcIHAHCbolDuh55mmM5UW/1u
c+7mCsEQ74HeWc8CckxfO87mTDcGI1ppsJ5fm+oNoQVoctyJ0Zp6J4qcyp7K6ZK4
cHwESgq6ZKf45AfJVHPses2arTniXHyRFUAWs/0En72rtNvMg9yzcoO0kmy2PYEN
MQWrrfA6zVcnVemL1qxOugbAxD3/dA8N4PD+Wml6Ck/PfQ2K4RYdt9BlW8cMBEPe
LdQZd/ezBOvs0FWZWtW1KFgKJgrDsUNMApr7r/JD0tY0urGJ1JSHfJKFUeJEoTsc
e8C+UIV93dkdb5lRZEe64UhHRCdWHx4C6oYzURHu69KX8Bj3y1jrbtA6xw+/nHWV
g/Ec2dZUyqEHBpM76ueU/B/0BRK3+RThH4PMMedAyEiR1xYsI150sbMBiF3DxSEJ
quW2uCaBpsZpOuFDfjDS
=H2X/
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to