Bookmark Topic Watch Topic
  • New Topic

driver class problem

 
Nhlanhla Dlamini
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Report post to moderator
I'm trying to run an application on Tomcat. It fails to run, throwing a null driver class exception. I've already copied a jar file with a Db2 driver class into Tomcat's /common/lib directory. But it still throws the same exception. What might be the problem here? (I would appreciate a detailed explanation).
The exception is:
java.sql.SQLException Cannot load JDBC driver class 'null'
at org.apache.commons.dbpc.BasicDataSource.createDataSource(...)
at org.apache.commons.dbpc.BasicDataSource.getConnection(...)
etc...
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
This is a repeated question, and will be continued here
 
    Bookmark Topic Watch Topic
  • New Topic