#JBDC driver not working (Maven, Java)

1 messages · Page 1 of 1 (latest)

austere scarab
#

Hi, I have a project that I need to work with, and I needed to install a JDBC driver through Maven in Java. But it gave me errors:

Verifying that the JDBC driver is available...
ERROR: The JDBC driver was not found. Please check that the driver is installed in your local MAVEN repository.
muted hawk
#

if this doesn't help you further, please give us some detail on what you have done so far in terms of installation processes

pure kettle
#

try

#

Class.forName("com.mysql.jdbc.Driver");

to preload the driver

#

Class.forName("oracle.jdbc.OracleDriver");

#

Also, in Eclipse, if you don't see the class, then the driver is not built into your project properly

#

For SQL Server and Oracle, you need to install the JDBC
driver into your local Maven Repository
using mvn install:install-file
like @muted hawk showed above