Ok, I am 500th user asking this question, I read many answers but still having no luck.
parent module pom contains:
Update: This will create a second context same as in applicationContext.xml
or you can add this code snippet to your web.xml
spring-dispatcher
org.springframework.web.servlet.DispatcherServlet
contextConfigLocation
classpath:applicationContext.xml
1
instead of
dispatcher
org.springframework.web.servlet.DispatcherServlet
1