Apache Tomcat 404 Error

前端 未结 10 1028
终归单人心
终归单人心 2021-01-11 13:49

I downloaded Apache Tomcat 6.0.2 And created a new server in Eclipse

  1. New -> Server
  2. Select \"Tomcat v6.0 Server\", Next
  3. Tomcat Installation Di
10条回答
  •  死守一世寂寞
    2021-01-11 13:55

    The error 404 appears when Tomcat can't find the localhost.ser file. In order to get rid of this follow these steps: 1) In Eclipse, right click on server --> Properties --> Click Switch Location --> Apply-->Ok (This will switch the [workspace metadata] location to the installed Tomcat location.) 2) Then go back to server, double click it. This will open Overview tab. Under this tab goto -->Server Location --> Select Use Tomcat Installation combo box.

    Now close it, save it and try run your server and then rerun the URL.

提交回复
热议问题