当前位置: 代码迷 >> Java Web开发 >> [毕业设计出大麻烦了,心急如焚啊]tomcat http statu 500异常!请迷津!
  详细解决方案

[毕业设计出大麻烦了,心急如焚啊]tomcat http statu 500异常!请迷津!

热度:56   发布时间:2016-04-17 16:10:10.0
[毕业设计出大麻烦了,心急如焚啊]tomcat http statu 500错误!请高手指点迷津!!!
我在tomcat   root目录下建立一个bem的文件夹,里面有一个名为index.jsp的文件,在浏览器中输入地址:   http://127.0.0.1:8080/bem/index.jsp   看到下面的出错信息.(我的jdk是1.6.0版本,也装了ms   sql   2000   for   jdbc和jdbc   sp3,昨天在Dreamweaver   中可以预览jsp文件,今天不行了,老弹出 "未命名站点   1   的站点定义为 "的窗体)
HTTP   Status   500   -  

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

type   Exception   report

message  

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

exception  

org.apache.jasper.JasperException:   com/microsoft/jdbc/base/BaseDriver
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


root   cause  

javax.servlet.ServletException:   com/microsoft/jdbc/base/BaseDriver
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:843)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:776)
org.apache.jsp.bem.index_jsp._jspService(index_jsp.java:291)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


root   cause  

java.lang.NoClassDefFoundError:   com/microsoft/jdbc/base/BaseDriver
java.lang.ClassLoader.defineClass1(Native   Method)
java.lang.ClassLoader.defineClass(Unknown   Source)
java.security.SecureClassLoader.defineClass(Unknown   Source)
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1815)
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:869)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1322)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
java.lang.ClassLoader.loadClassInternal(Unknown   Source)
java.lang.Class.forName0(Native   Method)
java.lang.Class.forName(Unknown   Source)
operate_db.operateDBBean.setConnection(operateDBBean.java:23)
org.apache.jsp.bem.index_jsp._jspService(index_jsp.java:141)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


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


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

Apache   Tomcat/5.5.20

------解决方案--------------------
  相关解决方案