Cant seem to connect the JDBC sql server driver to java eclipse project
I'm trying to setup the connect from my sql server database to my project
but when i try to compile it i get:
java.sql.SQLException: No suitable driver found for jdbc.odbc:login_DSN
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at SelfPractice.main(SelfPractice.java:13)
I'm very much new to this. i went to controlPanel>adminstrive tools>data
sources and there added a data source called login_DSN . i've looked in
older posts and they say to include the driver jar file in class path
which i think i did(i downloaded the jdbc driver from microsoft website
and loaded it to a 'referenced library' in eclipose, but i still get this
error message. How do i solve my driver problem?
No comments:
Post a Comment