When attempting to run the DB2 online test from the Windows command line 
like:

J:\geotools\modules\plugin\jdbc\jdbc-db2>mvn -P online install

No tests are run and there is the message
Skipping db2 tests, resources not available: 
org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver 
class 'com.ibm.db2.jcc.DB2Driver'
which is probably because the DB2 JDBC driver is not in the classpath. 
How do I add this to the classpath for the mvn test run?

Is it possible to run the online tests from within Eclipse and if so, 
where would the JDBC drivers be added to the classpath?


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to