从Eclipse运行Tomcat时出现HTTP错误404
问题描述:
我已经安装了Eclipse和Tomcat7。错误是,当我从Eclipse运行Tomcat时,它将启动,但是之后,当我在Google Chrome中打开 localhost:8080
时我收到 HTTP错误404()
。
I have installed Eclipse and Tomcat 7. The error is that when I run Tomcat from Eclipse it starts, but after that, when I open localhost:8080
in Google Chrome I get HTTP Error 404()
. How can I solve this, please?
答
首先,停止Tomcat,然后双击服务器,单击服务器位置
并选中使用Tomcat安装(控制Tomcat安装)
。
First, stop your Tomcat, then double click your server, click Server Locations
and check Use Tomcat Installation (takes control of Tomcat installation)
.