Stefano Maglione
Stefano Maglione

Reputation: 4150

Spring Tomcat 404 the origin server did not find a current representation

I am running a Spring app on Tomcat and I continue to get the error mentioned in the post title. I am trying to understand the reason but I cannot figure out. What file should I check that may influence this? Tomcat configurations etc. ?

UPDATE I noticed that in the project there is an application.xml in meta-inf folder with specified the context-root but this file is not in meta-inf folder inside tomcat webapps deployed

Upvotes: 0

Views: 104

Answers (1)

Stefano Maglione
Stefano Maglione

Reputation: 4150

As suspected context root was not defined in Tomcat. This solved the issue.

Upvotes: 1

Related Questions