sqoop连接数据库Could not initialize class org.apache.derby.jdbc.AutoloadedDriver40的解决方法

sqoop连接数据库报以下错误:
Exception in thread “main” java.lang.NoClassDefFoundError: Could not initialize class org.apache.derby.jdbc.AutoloadedDriver40
sqoop连接数据库Could not initialize class org.apache.derby.jdbc.AutoloadedDriver40的解决方法
这是因为sqoop/lib下缺少derby.jar的原因
解决方法:
Apache官网下载derby.jar包解压出来放到sqoop的lib目录下即可
http://db.apache.org/derby/derby_downloads.html
sqoop连接数据库Could not initialize class org.apache.derby.jdbc.AutoloadedDriver40的解决方法
sqoop连接数据库Could not initialize class org.apache.derby.jdbc.AutoloadedDriver40的解决方法
再次连接数据库
sqoop连接数据库Could not initialize class org.apache.derby.jdbc.AutoloadedDriver40的解决方法
连接成功
问题解决

相关文章:

  • 2021-08-07
  • 2021-12-18
  • 2022-01-06
  • 2021-10-25
  • 2021-07-20
  • 2021-08-21
  • 2022-12-23
猜你喜欢
  • 2021-04-06
  • 2022-12-23
  • 2022-12-23
  • 2021-05-18
  • 2021-05-11
  • 2022-12-23
  • 2021-04-20
相关资源
相似解决方案