Skip to content

Spring Boot Java 9+ modularity #13799

Closed
Closed
@m31collision

Description

@m31collision

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: declinedA suggestion or change that we don't feel we should currently apply

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions