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

jsp问题具体如下?
服务器为Tomcat5.0,数据库为Oracle9i.想配置一下感爱书中源码的强大功能,   却出现了如下错误!想知道错误原因那位给指点一下吧!谢谢。
__________________________________________________________________________
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:   oracle.jdbc.driver.OracleDriver
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:867)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:800)
org.apache.jsp.blog.photo_jsp._jspService(photo_jsp.java:202)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)


root   cause  

java.lang.ClassNotFoundException:   oracle.jdbc.driver.OracleDriver
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1383)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1230)
org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:184)
org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:110)
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
java.lang.Class.forName0(Native   Method)
java.lang.Class.forName(Class.java:155)
org.apache.jsp.blog.photo_jsp._jspService(photo_jsp.java:52)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)


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


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

Apache   Tomcat/5.0.19

------解决方案--------------------
你的Oracle驱动没装好吧,看看是不是放在classpath下了
------解决方案--------------------
ClassNotFoundException
驱动问题,找不到oracle.jdbc.driver.OracleDriver这个类,去下个驱动,放到classpath中,就是tomcat的common\lib下面
------解决方案--------------------
找不到驱动包
------解决方案--------------------
看看你的Web应用中有没有导入ojdbc.jar包,没有的话当然会报错了
我的异常网推荐解决方案:The server encountered an internal error () that prevented it from fulfilling this request.,http://w