日期:2014-05-18  浏览次数:20773 次

超级菜鸟问题,新手求助ToT
两个文件,一个helloWorld.java一个hello.jsp
--------------- <hello.jsp> -------------------------------
<HTML>
<TITLE> HelloWorld!   Applet </TITLE>
Applet的Hello   World程序
<p>
<APPLET
CODE= "HelloWorld.class "
WIDTH=200
HEIGHT=100>
</APPLET>
</HTML>
---------------- <helloWorld.java> ----------------------------------
import   java.awt.*;
import   java.applet.*;
public   class   HelloWorld   extends   Applet
{
      public   void   paint(Graphics   g)
      {
        g.drawString( "Hello   World! ",5,35);
      }
}
__________________________________________
我照着书打的,应该没错,编译helloWorld.java也通过了,可是在输入......../hello.jsp后出现以下错误报告
HTTP   Status   500   -  

--------------------------------------------

type   Exception   report

message  

description   The   server   encountered   an   internal   error   ()   that   prevented   it   from   fulfilling   this   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(Unknown   Source)
java.security.SecureClassLoader.defineClass(Unknown   Source)
java.net.URLClassLoader.defineClass(Unknown   Source)
java.net.URLClassLoader.access$100(Unknown   Source)
java.net.URLClassLoader$1.run(Unknown   Source)
java.security.AccessController.doPrivileged(Native   Method)
java.net.URLClassLoader.findClass(Unknown   Source)
java.lang.ClassLoader.loadClass(Unknown   Source)
java.lang.ClassLoader.loadClass(Unknown   Source)
sun.misc.Launcher$AppClassLoader.loadClass(Unknown   Source)
java.lang.ClassLoader.loadClass(Unknown   Source)
java.lang.ClassLoader.loadClass(Unknown   Source)
java.lang.ClassLoader.loadClassInternal(Unknown   Source)
org.apache.jasper.runtime.JspFactoryImpl.getJspApplicationContext(JspFactoryImpl.java:200)
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:159)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:329)
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)


note   The   full   stack   trace   of   the   root   cause   is   available   in   the   Apache   Tomcat/6.0.13   logs.

求大侠告诉我这个问题怎么解决?



有人晓得现在有哪些单位在使用nosql么