Skip to content

Additional Tomcat excludes needed when using Jetty #1847

@hban

Description

@hban

When using Jetty, excluding only spring-boot-starter-tomcat module is not enough since JDBC and WebSocket starters directly depend on certain Tomcat modules:

  • spring-boot-starter-jdbc depends on org.apache.tomcat:tomcat-jdbc
  • spring-boot-starter-websocket depends on org.apache.tomcat.embed:tomcat-embed-websocket

At the very least, documentation should be updated to mention excluding those Tomcat modules (either those exact modules, or whole tomcat and tomcat.embed groups).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions