正文idea整合springboot,访问templates下html资源问题IP云V管理员/2022-10-04/0 阅读 10/04小程序:扫一扫查出行【扫一扫了解最新限行尾号】复制小程序1、pom.xml文件中要引入themyleaf2、在application.properties文件中加入#拼接html前后缀spring.resources.static-locations=classpath:/templates/spring.thymeleaf.suffix=.html