The registration.jsp file should be in the base directory of the war, not within WEB-INF/classes. Files within WEB-INF and not accessible via URL.
Based on your pom.xml, I suspect that you did not create a web app project. Your JSP should be at src/main/webapp/registration.jsp. Then if the packaging type in the pom.xml is war, the WAR file will contain the JSP in the correct location. This is just a guess based on the WAR file contents, I would really need to see the complete pom.xml to know better.
Thanks for the quick resonse. I am using WAR as the packaging type and I moved the jsp to src/main/webapp/registration.jsp as you suggested.
I also updated my compile script to use the parameter -DarchetypeArtifactId=maven-archetype-webapp.
It's still compiling the jsp to the WEB-INF/classes folder though so I'm still missing something.
I attached the full pom.xml for review.
pom.xml 4.1 K
It's working!! I had pom.xml in the src folder. I moved it back one directory and it compiled correctly.