Invocation of init method failed; nested exception is java.sql.SQLException: com.mysql.cj.jdbc.Drive

代码更新后连不上数据库,前天都还可以,现在不行了,一直报错mysql没有。
Pom文件全局搜也灭有。

一开始是查不到的, 但是实际上pom文件中引入了,maven没有更新。。。。

Invocation of init method failed; nested exception is java.sql.SQLException: com.mysql.cj.jdbc.Drive_第1张图片

你可能感兴趣的:(mysql,java,sql)