0
点赞
收藏
分享

微信扫一扫

spring-boot jsp Whitelabel Error Page (404)解决

四月Ren间 2022-02-15 阅读 86

问题:spring-boot 项目使用jsp报错404

项目升版本后更换svn地址,重新拉取代码,启动后所有页面都报404,如下:

Whitelabel Error Page

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

Tue Feb 15 10:03:55 CST 2022

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

/WEB-INF/jsp/index.jsp

问题原因:

启动项目时没有设置项目的working directory。

解决方法:

配置working directory 为 $MODULE_WORKING_DIR$

举报

相关推荐

0 条评论