提示找不到模板,使用Eclipse不会报这个错!不知道啥原因,每次报错的模板不一样,随机的!应该不是url错误
Intellij idea +Spring boot templeat 错误
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
2条回答 默认 最新
hu837389340 2018-04-24 06:15关注你配置模板引擎了吗,springboot 推荐使用Thymeleaf作为模板,对jsp的支持不好,在pom.xml中添加
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> </dependency>本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报