想去掉org.springframework.boot:spring-boot-starter-web 中对tomcat的依赖,项目中使用的是gradle,百度了一波发现没有几乎没有自己想要的内容,这里做一下记录
implementation("org.springframework.boot:spring-boot-starter-web") {
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-tomcat'
}
博主在使用Gradle的项目中,想去掉org.springframework.boot:spring-boot-starter-web里对Tomcat的依赖,经百度未找到所需内容,故做记录。
1540

被折叠的 条评论
为什么被折叠?



