Java 连接SQL Server问题
我是用JDBC直接连接数据库的
下载后把 msbase.jar msutil.jar mssqlser.jar
放在D:\Borland\JBuilder2006\jdk1.5\jre\lib\ext
JDBC版本 Microsoft SQL Server 2000 Driver for JDBC
操作系统 Microsoft Windows XP Professional 2002 Service Pack2
可是连接时候老是出错。也不知道错在哪里,请高手指教
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 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:370)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
java.lang.NullPointerException org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:81)
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:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
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.9 logs.Apache Tomcat/5.5.9
在线等高手!
------解决方案--------------------文件名: 文件大小
SQL2000.AS-KB884525-SP4-x86-CHS.EXE
44.6 MB
下载
SQL2000.MSDE-KB884525-SP4-x86-CHS.EXE
80.2 MB
下载
SQL2000-KB884525-SP4-x86-CHS.EXE
67.1 MB
下载
问:是不是要下载安装上面几个包呢?
http://www.microsoft.com/downloads/details.aspx?displaylang=zh-cn&FamilyID=8e2dfc8d-c20e-4446-99a9-b7f0213f8bc5
我的异常网推荐解决方案:The server encountered an internal error () that prevented it from fulfilling this request.,http://www.aiyiweb.com/java-web/317.html