Spring Boot disables the embedded web container (Tomcat)

By default, Spring Boot will use Tomcat as the default embedded container. If you want to package and deploy springboot to other external containers (such as WebLogic). In addition to excluding the tomcat dependency in the pom, you can also disable the embedded web container that has been packaged into springboot through configuration without removing the dependency.

The specific configuration parameters are as follows:

spring.main.web-application-type=none

(END)

Guess you like

Origin blog.csdn.net/catoop/article/details/130841366