首先:试过网上各种办法无果,改到爆炸! 此办法试过但还是有错----经过考虑---复制粘贴----成功解决了!!!!
就是这么神奇!!!
找到-------注释掉------重启
<!-- <dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>
-->
重启项目还是不成功-------原项目原封不动复制粘贴------(猜想因为thymeleaf没注释掉之前已加载过资源)---成功解决!!!