且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Tomcat 404错误:原始服务器没有找到目标资源的当前表示,或者不愿意透露该目录的存在

更新时间:2022-10-14 17:43:57

Problem solved, I've not added the index.html. Which is point out in the web.xml

Update:

More update: a project may have more than one "web.xml" file.

if there are another "web.xml" in

src/main/webapp/WEB-INF

Then you might need to add another index (this time index.jsp) to

src/main/webapp/WEB-INF/pages/