"Caldarale, Charles R" <chuck.caldar...@unisys.com> wrote in message
news:99c8b2929b39c24493377ac7a121e21f98e46de...@usea-exch8.na.uis.unisys.com...
From: Greg Bondy [mailto:gbo...@starmountsystems.com]
Subject: Missing commons-el.jar causes NoClassDefFoundError
org/apache/commons/el/ExpressionEvaluatorImpl
(I was wondering when this would get transferred from the dev list :-)
I am migrating from Tomcat 5.5.27 to 6.0.26. I found that an
application I have running on 5.5.27 fails on 6.0.26 with the error:
NoClassDefFoundError org/apache/commons/el/ExpressionEvaluatorImpl. I
found that the class in question is located in commons-el.jar on
5.5.27 and that jar is missing from 6.0.26.
Looks like that class was replaced by
org.apache.jasper.el.ExpressionEvaluatorImpl, located in jasper.jar,
probably to avoid conflicts with webapp usage of the same.
No, it was because the Tomcat developers forked el development to Tomcat.
After GlassFish forked, commons-el no longer had enough developers.
The application is using Spring 3.0.1 and it appears that has a
dependency on org.apache.commons.el.ExpressionEvaluatorImpl.
I could not find any explicit reference to that class in the Spring code.
Is it possible that there's a reference to it in your Spring
configuration?
Can you tell me the reason for removing commons-el.jar. Is there a
better remedy to the NoClassDefFoundError problem other them copying
the jar file from 5.5.27?
Try it, but place it in your webapp's WEB-INF/lib directory, not in
Tomcat's lib directory.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org