spring boot新建项目启动报:Unregistering JMX-exposed beans on shutdown

原因为:SpringBoot内置Tomcat没有正常启动,在pom.xml 中添加:
<dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-tomcat</artifactId>
        <scope>provided</scope>
</dependency>
重新运行项目便可启动嵌入的tomcat服务器

原文地址:https://www.cnblogs.com/baixiuhua/p/8301411.html