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服务器

posted @ 2018-01-17 10:22  悠悠乃  阅读(2288)  评论(0)    收藏  举报