Registry / web-framework / spring-boot-starter-tomcat

spring-boot-starter-tomcat

JSON →
library4.0.6javamavenunverified

Starter for using Tomcat as the embedded servlet container in Spring Boot applications.

<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-tomcat</artifactId> <version>4.0.6</version> </dependency>
INSTALL
IMPORT
SIG · SPRING-BOOT-STARTE
S
spring-boot-starter-tomcat
web-frameworkjavav4.0.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TomcatServletWebServerFactory
org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory

Configure an embedded Tomcat server in a Spring Boot application.

import org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory; import org.springframework.boot.web.servlet.server.ServletWebServerFactory; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; @Configuration public class TomcatConfig { @Bean public ServletWebServerFactory servletContainer() { return new TomcatServletWebServerFactory(); } }
Debug
Known issues
breakingSpring Boot 3.x requires Tomcat 10.x; ensure compatibility with your servlet API version.
fix
Use Spring Boot 2.x for Tomcat 9.x or upgrade your application to Jakarta EE.
affects: >=3.0.0
Upgrade
Version history
4.0.6latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Resources
spring-boot-starter-tomcat — mvn dependency:get spring-boot-starter-tomcat · libregistry