On 24 Aug 2010, at 18:31, "Brochu, John" <jbro...@arqule.com> wrote:
> I am trying to use a simple EL expression on a JSP ala... > ${user.firstName} > Netbeans reports the following error: > > java.lang.NoSuchMethodError: > javax.el.ExpressionFactory.newInstance()Ljavax/el/ExpressionFactory; For what resource does it report this error? The JSP? > 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. Why is it in the latter location? > 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. > > I am a relatively inexperienced Tomcat user but I've done my best to > research this issue and I hope I didn't mis-diagnose the problem but I'm > nearly certain 6.0.29 is now referencing EL 2.1 and not JSP 2.0 - is > anyone else having the same issue? What is the version definition in your web.xml? p > > > > Thanks, > > John > > > > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org