错误原因是项目里关于连接数据库有多个.properties文件,没有指定哪一个.就默认执行application.properties了.
我的解决办法是这样的The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received在这里填入dev,使用开发模式的配置文件

相关文章: