We've been building our application on Maven 2.1 for awhile just fine.
We build it manually and with a continuous integration tool (Hudson)
without issue.  I moved Hudson from a Windows box to a Linux box, and
suddenly we started getting this following error running the tests:

 

2010-04-08 15:56:51,846 [main] ERROR
org.hibernate.util.JDBCExceptionReporter - Cannot create JDBC driver of
class 'com.jnetdirect.jsql.JSQLDriver' for connect URL
'http://maven.apache.org/CoreDataSource/core-datasource
<http://maven.apache.org/CoreDataSource/core-datasource> ' Cannot create
JDBC driver of class 'com.jnetdirect.jsql.JSQLDriver' for connect URL
'http://maven.apache.org/CoreDataSource/core-datasource
<http://maven.apache.org/CoreDataSource/core-datasource> '
java.sql.SQLException: No suitable driver

 

"CoreDataSource/core-datasource" is a separate custom Maven module
dependency in the main build.  I'm not sure where it's picking up this
value instead of using the one we have in our properties file,
especially being that this works fine on Windows and Mac OSX.  Any
ideas?

 

Thanks!

 

-Ryan

Reply via email to