File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes 404 error with Tomcat immediately after installation (not working out-of-box) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "404 error with Tomcat immediately after installation (not working out-of-box)" Watch "404 error with Tomcat immediately after installation (not working out-of-box)" New topic
Author

404 error with Tomcat immediately after installation (not working out-of-box)

Ben Green
Greenhorn

Joined: May 21, 2012
Posts: 2

I am trying to follow this tutorial: http://www.youtube.com/watch?v=b42CJ0r-1to&list=PLE0F6C1917A427E96&index=1&feature=plpp_video

I cannot get past the first 5 minutes. The part I get stuck is after adding Tomcat server to Eclipse and starting the server. When I browse to localhost:8080 I just get this error:

HTTP Status 404 - /

type Status report

message /

description The requested resource (/) is not available.
Apache Tomcat/7.0.27


I am running a fresh copy of Windows 7 x64. Just downloaded latest versions of Java SDK, Eclipse EE, and Tomcat today. Can anyone provide some assistance with this? It seems like it should be simple!
Ben Green
Greenhorn

Joined: May 21, 2012
Posts: 2

Well it turns out the answer is in later in the video I linked to! The solution is to change the server location settings. Right-click Tomcat server in the Eclipse server list, and click Open. Change server location to "User tomcat installation" and then it works.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: 404 error with Tomcat immediately after installation (not working out-of-box)