Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTTP Status 404 Tomcat Apache

Tags:

apache

tomcat

I'm going to be honest, never used this before, I'm simply trying to install it correctly. I'm running windows 7 and I have jre 6 and 7. I go to system properties, environment variables and enter in a new system variable : JRE_HOME C:\Program Files (x86)\Java\jre7. I run startup.bat and go to localhost:8080/" and I get

HTTP Status 404 - /%E2%80%9D

type Status report

message /%E2%80%9D

description The requested resource is not available.

Apache Tomcat/7.0.47

Help would be absolutely awesome.

like image 713
Tapp Avatar asked Dec 05 '13 11:12

Tapp


People also ask

What HTTP status code 404 means?

The HTTP 404 Not Found response status code indicates that the server cannot find the requested resource. Links that lead to a 404 page are often called broken or dead links and can be subject to link rot. A 404 status code only indicates that the resource is missing: not whether the absence is temporary or permanent.

What should be done in Tomcat error 404 the origin server did not find current representation for the target resource or is not willing to disclose?

The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. This error means the server could not find the requested resource (JSP, HTML, images…) and returns HTTP status code 404. Most of the time, you can fix this error by correcting the URL.


1 Answers

This a problem with tomcat and the catalina config files:

what you have to do is simply:

  • right click on the server tomcat in eclipse
  • click on properties
  • click switch location a little server will appear on the left side in the navigation view
  • double click on it after you have launched your server
  • Then select use Tomcat installation and save

this will solve that common 404 problem.

like image 90
william.eyidi Avatar answered Sep 28 '22 03:09

william.eyidi