成功解决:Driver class ‘net.sourceforge.jtds.jdbc.Driver’ could not be found, make sure the ‘MS SQL Server’ driver (jar file) is installed.
报错问题
错误连接数据库 : org.pentaho.di.core.exception.KettleDatabaseException: Error occurred while trying to connect to the database
Driver class ‘net.sourceforge.jtds.jdbc.Driver’ could not be found, make sure the ‘MS SQL Server’ driver (jar file) is installed.
net.sourceforge.jtds.jdbc.Driver
org.pentaho.di.core.exception.KettleDatabaseException:
Error occurred while trying to connect to the database
Driver class ‘net.sourceforge.jtds.jdbc.Driver’ could not be found, make sure the ‘MS SQL Server’ driver (jar file) is installed.
net.sourceforge.jtds.jdbc.Driver
报错信息截图如下所示:
报错翻译
报错信息翻译如下:
找不到驱动程序,请确保安装了“MS SQL Server”驱动程序(jar文件)。
报错原因
报错原因:缺少JTDS的jar包,找不到“驱动程序”,请确保安装了“MS SQL Server”驱动程序(jar文件)。
说明: JTDS,是一个开源的纯Java实现的JDBC3.0驱动,用于链接Mssql。
解决办法
解决方法1
kettle在官网下载很慢,博主这里已经为大家准备好了免安装环境:
在微信搜索公众号:袁袁袁袁满
或者 扫描文末下方名片关注后,回复:Kettle
即可免费下载:
解决方法2
将对应版本的数据库连接驱动放到kettle 安装目录下面的lib文件夹下,然后重启kettle 的客户端Spoon
-
SqlServer驱动下载地址:https://sourceforge.net/projects/jtds/
-
MySQL驱动下载地址:https://dev.mysql.com/downloads/connector/j/
注意:一定要下对应数据库版本的驱动
步骤:
-
放到kettle 安装目录下面的lib文件夹下
-
重启kettle 的客户端Spoon再次连接成功
以上是此问题报错原因的解决方法,欢迎评论区留言讨论是否能解决,如果有用欢迎点赞收藏文章谢谢支持,博主才有动力持续记录遇到的问题!!!