on 08-26-2007 6:39 AM
Hi Experts,
I am getting the exception java.lang.NoClassDefFoundError when i use the following code to connect to my MSSQL Database. The driver is added the classpath but still the problem persists.
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
Regards
Abdullah
Hi,
You need to add the 3 SQL server jars to the lib folder of the server.
Thanks
ritu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For Application Server after 6.13
I use this driver: com.microsoft.jdbc.sqlserver.SQLServerDriver
Also, you need to add the following jars to the 'lib' folder of your project
msbase.jar
mssqlserver.jar
msutil.jar
Omri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.