Exception report

hi all,

I'm trying to run jsp page but whenever i run it I get the error message

HTTP Status 500 -

--

type Exception report

message

description The server encountered an internal error () that prevented it from fulfillingthis request.

exception

javax.servlet.ServletException: java.lang.NoClassDefFoundError: javax/el/ELResolver

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:274)

javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

root cause

java.lang.NoClassDefFoundError: javax/el/ELResolver

java.lang.ClassLoader.defineClass1(Native Method)

java.lang.ClassLoader.defineClass(ClassLoader.java:620)

java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)

java.net.URLClassLoader.defineClass(URLClassLoader.java:260)

java.net.URLClassLoader.access$100(URLClassLoader.java:56)

java.net.URLClassLoader$1.run(URLClassLoader.java:195)

java.security.AccessController.doPrivileged(Native Method)

java.net.URLClassLoader.findClass(URLClassLoader.java:188)

java.lang.ClassLoader.loadClass(ClassLoader.java:306)

sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)

java.lang.ClassLoader.loadClass(ClassLoader.java:299)

java.lang.ClassLoader.loadClass(ClassLoader.java:251)

java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

org.apache.jasper.runtime.JspFactoryImpl.getJspApplicationContext(JspFactoryImpl.java:201)

org.apache.jsp.Hello_jsp._jspInit(Hello_jsp.java:22)

org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:52)

org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:157)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:320)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)

javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

this error for the below code!!!

<HTML>

<BODY>

Hello! The time is now

<%

new java.util.Date();

%>

</BODY>

</HTML>

I've already start the server and set the system variables.. every thing should be fine because after I finished the configuration of the apache tomcat 6.0.10 I ran the same code and it worked and now i get this error!!!

any help please...

Thanks

[2603 byte] By [Fatima_qua] at [2007-11-27 8:49:06]
# 1
You're missing the EL ( Expression Language ) jars in your classpath. Read more here: http://forum.java.sun.com/thread.jspa?threadID=5170042&messageID=9653047
nogoodatcodinga at 2007-7-12 20:57:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
thanks alot... but it is very weird. First it is not written in the steps of the configuration, Second when i finished the configuration I ran the same page and it worked!! why it accepted before and now not.
Fatima_qua at 2007-7-12 20:57:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...