java
spring boot的application.yml和application-dev.yml
開發SpringBoot應用的時候,通常程序需要在測試環境測試成功后才會上線到生產環境。而測試環境和 閱讀更多…
常見報錯
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項目后啟動項目報錯: 這個錯誤是因為我們沒有加上MapperScan 閱讀更多…
常見報錯
Resolved [org.springframework.http.converter.HttpMessageNotWritableException: Could not write JSON:
調試springboot項目,返回數據的時候報錯: Resolved [org.springfram 閱讀更多…
常見報錯
org.thymeleaf.exceptions.TemplateInputException: Error resolving template [students/getList], template might not exist or might not be accessible by any of the configured Template Resolvers
創建調試springboot項目后,然后訪問一個接口,控制臺開始報錯: 這個問題的主要原因是Cont 閱讀更多…
常見報錯
Project ‘org.springframework.boot:spring-boot-starter-parent:2.7.7’ not found
某日構建springboot項目,構建完畢以后發現下面這樣 然后打開pom文件,發現springbo 閱讀更多…
java
JAVA中的Xms、Xmx、MetaspaceSize、MaxMetaspaceSize都是什么意思?
某天需要修改一個web服務器的配置文件,看到了下面這樣一行配置 Xms:是JVM啟動申請的初始Hea 閱讀更多…
java
There is no getter for property named ‘xxxxx’ in ‘class com.xxx.xx.xx.xxxx'”,
0.背景 SpringMVC架構,使用mybatis執行insert語句,然后開始報錯: org.m 閱讀更多…
常見報錯
類型不匹配 Can’t assign java.lang.Double to java.lang.String
0.背景 java 從Hash<String,String>中獲取一個對象,讓轉換成Do 閱讀更多…
常見報錯
錯誤: HTTP management port configuration not found
調試一個JAVA項目,用的是wildfly(Jboss),前面用的正常,今天debug的時候突然報錯 閱讀更多…