I downloaded Apache Tomcat 6.0.2 And created a new server in Eclipse
Then I start the server and go to http://localhost:8080/ to see if it works. And I get a 404 error.
I've already googled it and tried to find a solution. But none of those remedies seem to work.
Any thoughts on what the problem is?
If your wanting to see your Tomcat Server Homepage then you will need to specify the server path and deploy path. The default is set to Use workspace metadata (does not modify your Tomcat installation).
How to do it.
Hope this helps!
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With