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

相關文章
相關標籤/搜索