RICH-ATONE

Springboot 关于jsp报 Path with "WEB-INF" or "META-INF": [WEB-INF/jsp/index.jsp] 错误总结

访问jsp页面显示:

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

Sat Apr 13 10:19:25 CST 2019
There was an unexpected error (type=Not Found, status=404).
No message available

当报如下错误时:

Path with "WEB-INF" or "META-INF": [WEB-INF/jsp/index.jsp]

首先排查springboot jsp相关依赖是否添加正确,如果确认无误后,再进行排查,pom文件是否书写正确,是否有(denpendencies、project等)标红存在,如果存在,则可以执行如下操作,确定报错原因:

 

 

 查看报错日志:

如果报错日志为:

expected START_TAG or END_TAG not TEXT (position: TEXT seen ...om/artifact/org.apache.tomcat.embed/t

则一定是pom配置文件书写有误,请认真检查标红区域,是否有地方写的不正确

 

参考:

https://blog.csdn.net/qq_43705131/article/details/110196462 

https://blog.csdn.net/qq_41182238/article/details/89278849

https://my.oschina.net/u/4267062/blog/3721891

posted on 2021-01-27 16:01  RICH-ATONE  阅读(1515)  评论(0编辑  收藏  举报

导航