springboot 踩坑 This application has no explicit mapping for /error, so you are seeing this as a fa...

springboot 初学者踩坑记录

This application has no explicit mapping for /error, so you are seeing this as a fallback.

Wed Feb 05 22:00:15 CST 2020

There was an unexpected error (type=Not Found, status=404).

/webapp/jsp/index.jsp

上面这个困扰了好一会儿,结果被自己蠢哭了,害。。。。

原来是自己把application.yml中的路径写成了 :/webapp/jsp/  

改为下图即可

你可能感兴趣的:(springboot 踩坑 This application has no explicit mapping for /error, so you are seeing this as a fa...)