springboot报No mapping for GET解决方法

搞了几个小时,才知道springboot访问teamplates需要thymeleaf jar支持,能够处理HTML,XML,JavaScript,CSS甚至是纯文本。在pom里黏贴 org.springframework.boot spring-boot-starter-thymeleaf 然后导入时,选择只导入改变的,import Changes如图: 项目结构: application.ym
相关文章
相关标签/搜索