eclipse运行web项目出现 HTTP Status 404-未找到

web 服务器运行项目出现:HTTP Status 404-未找到
Type Status Report
message/
desription The requested resouece is not available
Apache Tomcat/8.0.52
eclipse运行web项目出现 HTTP Status 404-未找到
(同时要注意端口号、URL是否正确、重复)

提前添加好Servers Tomcat

1、 运行不了服务器,那就创建web目录 html,在项目中”WebContent”>New>Other…
eclipse运行web项目出现 HTTP Status 404-未找到2、添加html eclipse运行web项目出现 HTTP Status 404-未找到
3、填写名称(index.html)
eclipse运行web项目出现 HTTP Status 404-未找到
4、完成添加
eclipse运行web项目出现 HTTP Status 404-未找到
5、写代码
eclipse运行web项目出现 HTTP Status 404-未找到
6、保存,运行
eclipse运行web项目出现 HTTP Status 404-未找到

相关文章: