| again (No suitable driver found for jdbc:sqlserver) error ! [message #922158] |
Mon, 24 September 2012 15:58 |
Ayman Metwally Messages: 8 Registered: April 2012 |
Junior Member |
|
|
Greetings,
I know it's a common error and the common mistake is writing the url wrongly as I read many threads about that.
My problem is different! (I hope so ) ...
This is the url I use:
jdbc:sqlserver://localhost:1433;databaseName=incident
I always receive this error from Eclipse console:
When Loading Drivers:java.lang.ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver
Error:java.sql.SQLException: No suitable driver found for jdbc:sqlserver://localhost:1433;databaseName=incident
I'm sure it's correct because I use the same url (with different database) in other eclipse project in the same workspace and working perfectly.
BTW, I didn't forgot this step:

Hope I can find a answer ..
Thanks in advance
Attachment: sqljdbc4.jpg
(Size: 101.69KB, Downloaded 1612 times)
[Updated on: Mon, 24 September 2012 15:59] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.01366 seconds