Hi everyone,
I am learning web app development, and I am trying to implement a basic mvc project from the Spring in Action text book (4th edition).
My project looks like this - <project.png>
I have created all config using
Java code instead of XML: 1. webapp initializer created by extending AbstractAnnotationConfigDispatcherServletInitializer 2. Created a controller by annotating the class with @Controller 3. Defined the view resolver in a class annotated with @EnableWebMvc
The project has only one view - home.jsp, mapped to "/".
I have configured
Tomcat 7.0 as targeted runtime for the project.
However, when I run the app (either in eclipse, or by exporting the project to war and deploying in tomcat), I am getting the following exception: <resourcenotfound.png>
Can someone please help me understand why I am getting this error? Link to the war file (includes source) -
https://www.dropbox.com/s/ssn3g92s63n3c7h/Spittr.war?dl=0
Thanks in advance!