标题:[求助]tomcat 4.1连接sql server 2000 出错!!
只看楼主
myjava
Rank: 1
等 级:新手上路
帖 子:16
专家分:0
注 册:2005-8-22
 问题点数:0 回复次数:0 
[求助]tomcat 4.1连接sql server 2000 出错!!

500 Servlet Exception Note: sun.tools.javac.Main has been deprecated. /myjsp/db_get.jsp:23: Class Connection not found. Connection ^ /myjsp/db_get.jsp:24: Undefined variable or class name: DriverManager Conn=DriverManager.getConnection(sConnStr,"sa",""); ^ /myjsp/db_get.jsp:25: Class Statement not found. Statement stmt=Conn.createStatement(); ^ /myjsp/db_get.jsp:26: Class ResultSet not found. ResultSet rs=stmt.executeQuery("select * from CustomerInfo"); ^ /myjsp/db_get.jsp:150: Variable rs may not have been initialized. rs.close(); ^ 5 errors, 1 warning

-------------------------------------------------------------------------------- Resin 2.1.16 (built Tue Feb 15 11:12:27 PST 2005)

我用tomcat4.1连接sql server 2000时,发生错误 请各位大虾帮忙解决!!!

搜索更多相关主题的帖子: tomcat sql server 
2005-09-05 23:52



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-26804-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.979823 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved