springboot+jsp 返回 404原因

动方式错了!

thymeleaf模板启动OK

JSP404

why????

答:不能直接启动项目,应该在下图这个位置启动
在这里插入图片描述
主要参考http://m.blog.csdn.net/zhangzijiejiayou/article/details/68947241

其他

使用IDEA在Spring Boot中集成JSP这篇也说到了用run启动 但位置不显眼 后来复查才看见
在idea 上springboot 1.5.6集成jsp页面

http://blog.csdn.net/qq_34357835/article/details/76671204

http://bbs.csdn.net/topics/392143486

猜你喜欢

转载自blog.csdn.net/weixin_42321329/article/details/107610908