I have serious problems with the jdbc driver. I'm using ms sql server 2000
and j builder 9 personal edition. The error that java sends me is:
java.lang.ClassNotFoundException:
com.microsoft.jdbc.sqlserver.SQLServerDriver
at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at prueba.getConnection(prueba.java:51)
at prueba.displayDbProperties(prueba.java:69)
at prueba.main(prueba.java:107)
Error Trace in getConnection() :
com.microsoft.jdbc.sqlserver.SQLServerDriver
Error: No active Connection
I already have installed the driver that I have downloaded from microsoft,
this is the service jdbc pack 3.
If someone could help me!!!
Tks
Hi,
Please ensure that the jar files that come with the pack are in the
classpath.
The files should be msutil.jar, msbase.jar and mssqlserver.jar .
If you can't find them (but you probably will), they can be downloaded for
free at microsoft (JDBC driver type 4).
Regards,
Arnaud
"Erika Espa?a via JavaKB.com" <forum@JavaKB.com> a ?crit dans le message
news: fd21621b0ad14b24b869fb9ba7133404@JavaKB.com...
> I have serious problems with the jdbc driver. I'm using ms sql server 2000
> and j builder 9 personal edition. The error that java sends me is:
[quoted text clipped - 22 lines]
> --
> Message posted via http://www.javakb.com
Erika España - 01 Apr 2005 22:00 GMT
hi!
Tks for your help, you are completely right...
there was a problem with the classpath...
tks
Erika