On 24/08/2010 18:31, Brochu, John wrote: > java.lang.NoSuchMethodError: > javax.el.ExpressionFactory.newInstance()Ljavax/el/ExpressionFactory; > > > I've confirmed that the el-api-jar that came with Tomcat is in the > Tomcat 6.0.29 lib folder and also in my JDK's jre\lib\ext directory.
Putting it in jre\lib\ext is a bad idea (tm). Get rid of it. > I've confirmed that the method ExpressionFactory.newInstance() is not > included in the ExpressionFactory class included with el-api-jar for > this version of Tomcat. > > The Tomcat documents indicate that version 6 should reference JSP 2.0 > not EL 2.2, but ExpressionFactory.newInstance() is not a valid method in > JSP 2.0 but as far as I can tell it's a recommendation for EL 2.1 and > 2.2. Tomcat 6.0.x implements JSP 2.1 and EL 2.1 ExpressionFactory.newInstance() was introduced in EL 2.2. It is *not* part of EL 2.1 in any way whatsoever. It was first suggested in a proposed maintenance release for EL 2.1 but that maintenance release whet on to become EL 2.2. This appears to have confused a number of folks into thinking it was/will be part of EL 2.1. To use that method you need to use Tomcat 7.0.x Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org