Greetings all,
just another newbie eclipse/maven/spring webapp configuration tangle.
I've tried to set up my project with the canonical eclipse/maven/spring
webapp structure. It compiles and deploys w/o error to my local instance of
tomcat.
But I can't seem to get to my index page.
pom.xml
\webapp\WEB-INF\web.xml
\WEB-INF\spring\root-context.xml
\WEB-INF\spring\appServlet\servlet-context.xml
\WEB-INF\views\index.jsp
\WEB-INF\views\contactMe.jsp
com.webspringtester.controller.BaseController.java---------------------
going to
http://localhost:8080/hopeThisWorks yields the following msg in my eclipse console:
WARN [springframework.web.servlet.PageNotFound-noHandlerFound] - No mapping found for HTTP request with URI [/hopeThisWorks/] in DispatcherServlet with name 'spring-dispatcher'
I've googled up quite a few similar problems, seems it's tricky to get right, structure and names all have to jibe, could use some help please.
And on a tangential topic, is it considered best-practice to make use of a WebApplicationInitializer or not? Obviously I'm doing this all by hand but maybe there's a better way.
TIA,
Still-learning Steve