|
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.
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!
|