Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

jdbc and SQLServer

I am trying to connect to a SQLServer database from my servlet using jdbc connectivity. I am able to connect to the db if I create a datasource. but if I try to make a connection by giving the connection string (DriverManager.getConnection(..)), I am getting an SQLException "No driver found" at Class.forName( I tried registering the driver using DriverManager.registerDriver(...) command, then I get NoClassDefFound error. I think it is a problem related to ClassLoader. I can see the deployed driver files in VA under the ClassLoader Viewer. Any idea what's going on here.


Former Member
Not what you were looking for? View more on this topic or Ask a question