|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
SQLException: No suitable driver found for jdbc:sqlserver
I am getting the problem with driver
I am working in Microsoft Sql 2005 server I used the dirver in my program is "com.microsoft.sqlserver.jdbc.SQLServerDriver" And i added jar file(sqljdbc.jar) realted to that in current working directory I build the path also but when i am going to execute my program this exception is coming SQLException: No suitable driver found for jdbc:sqlserver and its giving NullPointerException How can I solve it Can any one help in this |
|
#2
|
||||
|
||||
|
Is the jar entry present in the CLASSPATH?
Note that having the directory in the CLASSPATH does not work for jars. You need to have an entry for the jar itself. (Also requesting the moderator to move this thread to Java Help forum).
__________________
|
|
#3
|
|||
|
|||
|
Sql Driver
Quote:
ThnQs fro the reply I exceuted my program previously only |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > SQLException: No suitable driver found for jdbc:sqlserver |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|