spring boot 整合thymeleaf Template might not exist or might not be accessible by any of the config

最近一个项目用到了spring boot ,整合thymeleaf  ,但是某天突然就不能访问模板了

找了好多资料没有用

spring.thymeleaf.prefix=classpath:/templates/
spring.thymeleaf.suffix=.html
spring.thymeleaf.mode=HTML5
spring.thymeleaf.encoding=UTF-8

 

上面四个加了也是扯淡

后来在SO的网站上找到了,可能是jar包的问题,重新clean, 完美解决


版权声明:本文为weixin_37802210原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。