The driver file is not in your classpath. could be some spelling mistake or
wrong path.. check each entry by giving dir or ls commands and check
that there are no mistakes in it.
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of wanglei
Sent: Monday, December 10, 2001 3:28 AM
To: [EMAIL PROTECTED]
Subject: There are some problems about my ms-sqlserver2k jdbc driver!

I have download a ms-sqlserver2k jdbc driver from microsoft.com.And following the instrction,I set the paths of three JAR file into the CLASSPATH.In the JSP file the statements about database connection are here:
 
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
Connection conn=DriverManager.getConnection("jdbc:microsoft:sqlserver://letter:1433");   
 
When I run the JSP file,there is a error message:
    java.lang.ClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver
 
So why?and what I should do?thanks!

Reply via email to