Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Java SE 综合讨论区  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 jsp连SQL2000的问题?
wmaofengjava





发贴: 4
积分: 0
于 2005-02-16 16:26 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
我的CLASS-PATH是这样设的:
.;C:\j2sdk1.4.2\lib;C:\j2sdk1.4.2\lib\dt.jar;C:\j2sdk1.4.2\lib\tools.jar;C:\Tomcat 5.0\common\lib\servlet.jar;C:\Program Files\Microsoft SQL Server 2000 Driver for JDBC\lib\msbase.jar;msbase.jar\mssqlserver.jar;mssqlserver.jar\msutil.jar 但是在连接的时候却报这样错误,页面内容是别人写好的肯定没有错误:
type Exception report

message

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

exception

javax.servlet.ServletException: com.microsoft.jdbc.sqlserver.SQLServerDriver
  org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:845)
  org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:778)
  org.apache.jsp.mydb_jsp._jspService(mydb_jsp.java:85)
  org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause

java.lang.ClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver
  org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1340)
  org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)
  org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:148)
  org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:69)
  java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
  java.lang.Class.forName0(Native Method)
  java.lang.Class.forName(Class.java:141)
  org.apache.jsp.mydb_jsp._jspService(mydb_jsp.java:47)
  org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

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




有了Swing为什么还要SWT?

话题树型展开
人气 标题 作者 字数 发贴时间
6455 jsp连SQL2000的问题? wmaofengjava 2322 2005-02-16 16:26
5355 Re:jsp连SQL2000的问题? wmaofengjava 44 2005-02-16 16:28
5139 Re:jsp连SQL2000的问题? 孤独王子 60 2005-02-17 10:01
5502 Re:jsp连SQL2000的问题? henbane 33 2005-03-18 11:16
5290 Re:jsp连SQL2000的问题? lfxlixiang 46 2005-03-20 15:23
5321 Re:jsp连SQL2000的问题? why 715 2005-03-20 20:13

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923