Skip to content

[Spring Boot 4] not working on a war deployment #3165

Description

@nicolasb29

Hi,

I have a problem on Spring Boot 4 with SpringDoc. I don't use the embeded tomcat but I build a WAR file which is deploy on an external Tomcat.

To reproduce the error, I made a sample project on GitHub which show that the class org/springframework/boot/web/server/autoconfigure/ServerProperties is not found

Activity

  1. nicolasb29 commented on Dec 4, 2025

    @nicolasb29
    ContributorAuthor

    To check if it is working, I tried to add specifically

    implementation 'org.springframework.boot:spring-boot-web-server'
    

    But the JAR is not added in the WEB-INF/libs folder.

  2. bnasslahsen commented on Dec 28, 2025

    @bnasslahsen
    Collaborator

    @nicolasb29,

    Should be fixed with Decoupling Web Server APIs after Spring Boot modularization #3186

  3. nicolasb29 commented on Dec 28, 2025

    @nicolasb29
    ContributorAuthor

    @nicolasb29,

    Should be fixed with Decoupling Web Server APIs after Spring Boot modularization #3186

    It is working fine. I waited for the release to close this issue, when do you plan a milestone/snapshot/release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions