spring boot无法读取html、jsp页面
程序员文章站
2022-03-06 09:48:14
...
直接使用springboot发现读取页面的时候,会报错:
This application has no explicit mapping for /error
其实处理办法很简单,只需要在gradle加入以下依赖即可:
compile("org.springframework.boot:spring-boot-starter-thymeleaf")
上一篇: springboot项目整合前端,添加jsp的访问
下一篇: ajax上传图片