springboot使用过程当中遇到的问题

1、工具Intellij IDEAjava

2、基本问题mysql

1.数据库语句spring

Caused by: java.lang.IllegalStateException: Cannot load driver class: com.mysql.cj.jdbc.Driver 

解决方法:检查application.prooerties文件中的数据库语句:spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver 是否后面有空格(不能有空格)sql

相关文章
相关标签/搜索