Erel Segal-Halevi
Erel Segal-Halevi

Reputation: 36715

Tomcat cannot find my webapp

I installed Tomcat 7 and checked that the following links work:

http://localhost:8080 
http://localhost:8080/docs

I put a file called "GeniusWeb.war" in "webapps", and opened the following link:

http://localhost:8080/GeniusWeb

I got an "404" error.

I looked at the webapps folder and saw that there is a new "GeniusWeb" folder, so the Tomcat server actually found the war file and expanded it, but, for some reason it does not find it when I go to the link.

Do you have any idea?

Upvotes: 1

Views: 3636

Answers (2)

Dhana Siggie
Dhana Siggie

Reputation: 1

Check the catalina.out file present under tomcat/logs folder. There you can find out what actually gone wrong.

Upvotes: 0

KV Prajapati
KV Prajapati

Reputation: 94645

The server could not find what was requested. You need to add resource/page in newly created context. Create index.jsp and request it http://localhost:8080/GeniusWeb or http://localhost:8080/GeniusWeb/file_or_resource.ext

Upvotes: 1

Related Questions