java3k
java3k

Reputation: 59

Tomcat - The requested resource () is not available. What can cause a .war file not to show/load?

I've uploaded my .war file to /webapps.

I'm able to see it in the path, but if I got to //localhost:8080/vdma-vaadin-0.1-SNAPSHOT.war it's not pulling up...

Any tips to look for?

Upvotes: 2

Views: 4254

Answers (3)

Samet Sevim
Samet Sevim

Reputation: 81

You should go to localhost:8080/folder_name_in_webapps_folder

Also there can be some problems about your code, you may check in tomcat/logs.

Upvotes: 1

cowls
cowls

Reputation: 24334

You don't want to access the WAR directly. The WAR is just the web application archive. To access the web application try this:

http://localhost:8080/vdma-vaadin-0.1-SNAPSHOT

That is assuming there are no errors preventing your application from starting

Upvotes: 2

Archer
Archer

Reputation: 5147

You should go to

http://localhost:8080/vdma-vaadin-0.1-SNAPSHOT

instead of

http://localhost:8080/vdma-vaadin-0.1-SNAPSHOT.war

That's it.

Upvotes: 1

Related Questions