常見報錯
Field studentsMapper in site.longkui.app.service.StudentsService required a bean of type ‘site.longkui.app.mapper.StudentsMapper’ that could not be found.
某日新創建spring boot項目后啟動項目報錯: 這個錯誤是因為我們沒有加上 閱讀更多…
常見報錯
Resolved [org.springframework.http.converter.HttpMessageNotWritableException: Could not write JSON:
調試springboot項目,返回數據的時候報錯: Resolved [org. 閱讀更多…
常見報錯
Failed to configure a DataSource: ‘url’ attribute is not specified and no embedded datasource could be configured.
某日新創建一個spring boot項目,添加完依賴以后運行項目開始報錯: 原因 閱讀更多…
常見報錯 開發與創造
Loading class `com.mysql.jdbc.Driver’. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver’.
某日構建springboot項目時,報的錯: 項目的配置文件是下面這樣: 根據上 閱讀更多…
常見報錯
Project ‘org.springframework.boot:spring-boot-starter-parent:2.7.7’ not found
某日構建springboot項目,構建完畢以后發現下面這樣 然后打開pom文件, 閱讀更多…