Closed
Description
I want to build java 9+ modular (Jigsaw) application using Spring Boot. Currently it is not possible: suppose we have application which consist of main and web modules. I'm expecting that
- main module will depend on spring-boot + spring-core
- web module will depend on spring-web and will be able to see and use main module and its dependencies
But it will not work because Spring Boot has hard coded dependency on spring-web, so class loading will fail in such hierarchy. I will have to move Spring Web dependency from web module to main module but such modularity makes no sense for application.
Do you have plans to modularize Spring Boot and Spring projects in general?