MotoDave452
MotoDave452

Reputation: 406

Eclipse cannot load JDBC Driver class: net.sourceforge.jtds.jdbc.Driver?

I am working with the BIRT Report Design Feature that is built into eclipse. I am using this to develop a report for an application we use at work. In BIRT, I added a data source which would be the database that I want to pull my data from. The problem occurs whenever I try to access Data Sets to write my query that will specify the data that I want to pull in. When I try to do this I get an error:

cannot load JDBC Driver class: net.sourceforge.jtds.jdbc.Driver

Does anyone know if I need to get certain .jar file and where to put it? Or do I need to download a special driver or plugin or what exactly do I need to do to resolve this?

Upvotes: 3

Views: 14882

Answers (1)

SparkOn
SparkOn

Reputation: 8946

cannot load JDBC Driver class: net.sourceforge.jtds.jdbc.Driver

is basically because your application has dependency on jtds.jar which is unavailable in the classpath so first download the jar from here and add it to the classpath.

This is where you may want to get start with

Upvotes: 2

Related Questions