移除spring-boot-starer-web依赖即可
<dependencies>
<dependency>
<groupId>com.zsh</groupId>
<artifactId>ce-common</artifactId>
<version>${parent.version}</version>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</exclusion>
</exclusions>
</dependency>