josiefrut 0 Newbie Poster

Hi guys!

Been spending 2 days for this problem. Im having this error message whenever i run the program in netbeans6.9.1,

org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'net.sourceforge.jtds.jdbc.Driver'
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1136)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)....
...

The was working fine not until i tried exploring iReports 3.7 and creating a classpath (in iReports) for jtds 1.2.2 from my Apache Tomcat folder. i don't know if using the same classpath creates a conflict with netbeans. i already tried uninstalling iReports, but no go. :(

i also observed that my jtds jar file contains 0kb.. im not sure if it's corrupted or what. but already tried overriding it with a good jtds jar file (same version, of course) but after i tried running the program, again it goes back to being 0kb. weird. :(


Been researching a solution to this problem for quite a while now. Hope somebody out there can help... would really, really appreciate any idea.... thanks much.