Java - Eclipse Tomcat HTTP Status 404 Fix
INFO: Initializing Coyote HTTP/1.1 on http-8080
mai 02, 2013 4:05:13 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 604 ms
mai 02, 2013 4:05:14 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
mai 02, 2013 4:05:14 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.36
mai 02, 2013 4:05:14 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
mai 02, 2013 4:05:14 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
mai 02, 2013 4:05:14 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/22 config=null
mai 02, 2013 4:05:14 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 493 ms
To fix this
Make sure you have created atleast one .jsp page
Then in Eclipse
-
Click on Window > Show view > Server or right click on the server in “Servers” view, select “Properties”.
-
In the “General” panel, click on the “Switch Location” button.
-
The “Location: [workspace metadata]” should replace by something else.
-
Open the Overview screen for the server by double clicking it.
-
In the Server locations tab , select “Use Tomcat location”.
-
Save the configurations and restart the Server.