1、如果是gradle工程,有两种方式;
方式一、在全局配置中修改;
添加exclude
exclude module:'spring-boot-starter-tomcat'
方式二、在compile排除:
compile("org.springframework.boot:spring-boot-starter-web:${springBootVersion}") {
exclude group
1、如果是gradle工程,有两种方式;
方式一、在全局配置中修改;
添加exclude
exclude module:'spring-boot-starter-tomcat'
方式二、在compile排除:
compile("org.springframework.boot:spring-boot-starter-web:${springBootVersion}") {
exclude group