Connect to MS SQL 2k Server fails - ClassNotFoundException received
0 posts in topic
Flat View  Flat View

Posted By:   Mark_Buss
Posted On:   Tuesday, March 5, 2002 07:29 AM

I tried to get a connection to MS SQL Server with JDBC.

I followed the instructions installing the JDBC Driver and added it to the CLASSPATH.

Compiling was succesful. If I start my program I always get:

java.lang.ClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver
Exception in thread "main" java.lang.NullPointerException
at dbtest1.closeDB(dbtest1.java:25)
at dbtest1.main(dbtest1.java:34)

But I followed the instructions exactly and don't what is wrong.

About | Sitemap | Contact