I Have below struture for my project:-
parent POM
|-- app-core
|-- app-model
|-- app-services
`-- app-web
app-core : In Springs
app-services : In jersey rest
*app-services uses app-core.jar*
Question : If I add spring-dependencies to my app-core how does app-services can access the applicationContext.xml. Do I need to add spring-dependencies to my app-services module as well??
Just add
app-coreas a maven dependency in the pom ofapp-servicesand you’ll be able to access theapplicationContext.xmlasclasspath:applicationContext.xml.