Issue
I imported a project from sample codes from a book https://github.com/pauldeck/springmvc-2ed/tree/master/chapter-02/eclipse/appdesign1 into Eclipse.
I convert the project to Dynamic Web Module by right click project>properties>project facets>convert to facets form. However, when I run as run on server on Tomcat 8.5, I got HTTP Status 404 – Not Found. enter image description here
Why my controller is already working but I cannot find the resource jsp in my webapp?
Solution
As the Tomcat server returns message JSP is not found, the url is successfully dispatched by the controller. Have you checked if your jsp files are deployed when run on server? enter image description here
make sure you have included all your resources under deployment assembly configuration.
Answered By - Yu Tian Toby