报错参考
以PostgreSQL连接报错为例
Error resolving dependencies Maven artifact 'maven:/org.postgresql:postgresql:RELEASE' not found Maven artifact 'maven:/org.postgresql:postgresql:RELEASE' not found
Can't create driver instance
Error creating driver 'PostgreSQL' instance.
Most likely required jar files are missing.
You should configure jars in driver settings.
Reason: can't load driver class 'org.postgresql.Driver'
Error creating driver 'PostgreSQL' instance.
Most likely required jar files are missing.
You should configure jars in driver settings.
Reason: can't load driver class 'org.postgresql.Driver'
org.postgresql.Driver
解决方式
1. 配置Maven
配置路径:窗口 => 首选项 => 连接 => 驱动 => Maven
添加一条Maven: http://maven.aliyun.com/nexus/content/groups/public/
2. 下载驱动
添加完成后,点击【应用并关闭】,回到数据库连接界面,双击搜索并点击【下载】驱动;
3. 测试连接
添加一个数据库,输入正确的配置信息并点击【测试连接(T)】,若信息无误则连接成功。
🎉如果对你有所帮助,可以点赞、关注、收藏起来,不然下次就找不到了🎉
【点赞】⭐️⭐️⭐️⭐️⭐️
【关注】⭐️⭐️⭐️⭐️⭐️
【收藏】⭐️⭐️⭐️⭐️⭐️
Thanks for watching.
–Kenny