404错误,按照步骤来的,不知道问题在哪儿

来源:1-3 IDEA环境下创建Maven WebApp

masami酱

2020-04-25 11:17:39

http://img.mukewang.com/climg/5ea3ab4b09a42eb513410841.jpg

http://img.mukewang.com/climg/5ea3ab8c09e88e2a13440847.jpg

http://img.mukewang.com/climg/5ea3abb309faf78108620394.jpghttp://img.mukewang.com/climg/5ea3abd0092411c619181031.jpg

写回答

1回答

好帮手慕阿满

2020-04-25

同学你好,课程的项目中,有index.html页面,如:

http://img.mukewang.com/climg/5ea3da1709a16a6904010283.jpg

启动项目后,会默认访问index.html。

同学的项目没有index.html页面,所以提示404。

这里建议同学要么写上要访问的页面hei.html,如:

localhost/hei.html

要么将hei.html改为index.html

如果我的回答解决了你的疑惑,请采纳。祝:学习愉快~

1

0 学习 · 8263 问题

查看课程