I\'m trying to run my web application using Spring, Hibernate and Apache Tiles. It seems the code has no errors, but I\'m just getting a 404 page.
/var/log/tomcat7/c
I solved it.
There are two contexts: root (application wide) and servlet context
I defined viewResolver
, tilesConfigurer
, tx:annotation-driven
and mvc:annotation-driven
in the root context.
Moving it to the servlet context solved the problem.
UPDATED
I've moved viewResolver
, tilesConfigurer
, tx:annotation-driven
and mvc:annotation-driven
definitions from applicationContext.xml
to contextConfigLocation
(dispatcher-servlet.xml
)