'restart.include.mapper' is an unknown property.
這個(gè)屬性一直找不到。看到有人說(shuō)和spirngboot版本有關(guān),我springboot的版本試過(guò)1.5.18.BUILD-SNAPSHOT,也試過(guò)2.0.7.BUILD-SNAPSHOT,都沒(méi)用,這個(gè)屬性restart開(kāi)頭應(yīng)該是和熱部署有關(guān)吧?devtools的版本我也試過(guò)最新版的,如下。
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<version>2.0.4.RELEASE</version>
<optional>true</optional>
</dependency>
也沒(méi)用。其他mybatis等等的依賴(lài)都按視頻上的版本號(hào)寫(xiě)的。各種嘗試后application.properties文件還是說(shuō)'restart.include.mapper' is an unknown property.restart.include.pagehelper也是這樣的問(wèn)題。搞不懂啊?是我版本號(hào)不對(duì)嗎
2018-11-24
我用的是yml版本, 大同小異,應(yīng)該沒(méi)有restart.include.mapper和restart.include.pagehelper兩個(gè)屬性吧?