Could not load db driver class: com.mysql.jdbc.Driver解决方法

14/03/26 22:43:24 ERROR sqoop.Sqoop: Got exception running Sqoop: java.lang.RuntimeException: Could not load db driver class: com.mysql.jdbc.Driver
java.lang.RuntimeException: Could not load db driver class: com.mysql.jdbc.Driver
        at org.apache.sqoop.manager.SqlManager.makeConnection(SqlManager.java:772)
        at org.apache.sqoop.manager.GenericJdbcManager.getConnection(GenericJdbcManager.java:52)

 

没有导入mysql驱动包导致,将mysql-connector-java-5.xx.x.jar 复制到sqoop安装目录的lib目录中即可!

Could not load db driver class: com.mysql.jdbc.Driver解决方法,布布扣,bubuko.com

Could not load db driver class: com.mysql.jdbc.Driver解决方法

上一篇:MySQL主从复制配置-windows单机环境


下一篇:Got error creating database manager: java.io.IOException解决方法