I have a project with several maven modules, where each maven module has its own application context in src/main/resources . One of these multi-module projects is a web application, and the application application context is the import of application contexts of other maven modules. I am using a similar pom configuration as mentioned in this link.
My problem is that the web application application context cannot load application contexts of other maven, jars modules. I think this should be somehow possible, but I cannot understand it. I reviewed the application import command with or without regex, but was not successful.
I would be very grateful if you explain the above problem in the light of an example.
source share