Monday, May 24, 2010

jTDS for dummies

I got this error when trying to use a MS SQL data source in Confluence:

Cannot load JDBC driver class 'net.sourceforge.jtds.jdbc.Driver'

I had downloaded the jTDS JDBC driver (or so I thought) and put it in the common/lib folder of my Tomcat installation.

What I had done wrong is I downloaded the jtds-1.2.5-bundle.jar file thinking it was the MS SQL connector I needed. Apparently I should have downloaded the file, extracted jtds-1.2.5.jar from that, and copied that file to my Tomcat common/lib folder.


Post a Comment