0
点赞
收藏
分享

微信扫一扫

springboot 简单项目启动报错type=Not Found, status=404

洛茄 2022-01-24 阅读 31

创建项目时勾选了thymeleaf模板,pom.xml配置文件里面没有进行配置,

加上配置后刷新maven,重新访问就好使了

<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> </dependency>

 

 

举报

相关推荐

0 条评论