Ask Your Question
1

Failed to create JDBC driver, JDBC driver JAR may be missing: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

asked 2019-02-18 21:03:56 -0500

Johnstephonelder gravatar image

updated 2019-02-25 11:30:14 -0500

metadaddy gravatar image

Im using StreamSets Data Collector 3.8.0-SNAPSHOT ( built by ubuntu on 2019-02-18T08:01Z git: 3acd8f36c3fce131f39f8eb5f463d66610b9eb17) streamsets

when i create a mysql collecter it occurs this problem as below

JDBC_28 - Failed to create JDBC driver, JDBC driver JAR may be missing: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

how to solve this problem

Thanks

edit retag flag offensive close merge delete

Comments

How did you install MySQL JDBC driver and which version did you install?

iamontheinet gravatar imageiamontheinet ( 2019-02-19 16:34:27 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-11-04 05:41:06 -0500

Tutu Kumari gravatar image

I faced the same error for Mariadb. Download the jar and put it in this folder /opt/streamsets-datacollector/streamsets-libs/streamsets-datacollector-jdbc-lib/lib

cp mariadb-java-client-2.4.4.jar /opt/streamsets-datacollector/streamsets-libs/streamsets-datacollector-jdbc-lib/lib

And then run service sdc restart and then you will not get this error.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-02-18 21:03:56 -0500

Seen: 1,163 times

Last updated: Feb 18 '19