Error when spring boot starts:
Spring Boot: Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean
But it can be started with the command mvn clean package spring-boot:run -Plocal.
Then you need to configure the program startup parameters, as shown in the figure.