我是不是要下载安装一个jdbc驱动

来源:2-6 逐层完成SSM的各项配置

慕田峪8303546

2020-04-08

com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1f1a5639 – Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (2). Last acquisition attempt exception:
java.sql.SQLException: No suitable driver

写回答

1回答

翔仔

2020-04-09

同学好,不用呀,你的mysql版本是8的话,需要参考http://coding.imooc.com/lesson/144.html#mid=26875 去升级配置,如果是5.x的,可以参考视频里的pom.xml配置mysql-connector-java即可


0
3
慕田峪8303546
回复
翔仔
我jdbc.properties里错个字母
2020-04-10
共3条回复

Java双版本(SSM到SpringBoot)校园商铺全栈开发

SSM商铺V1.0,解决毕设痛点;SpringBoot商铺V2.0,满足工作刚需

5113 学习 · 8144 问题

查看课程