spring boot启动时候出现Unregistering JMX-exposed beans on shutdown
网上查了下,各有各的解决方案,但自己试了下都不行。只好自己尝试找问题,解决方案:
pom.xml里添加
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.1</version>
<configuration>
<port>8080</port>
<uriEncoding>UTF-8</uriEncoding>
<server>tomcat7</server>
</configuration>
</plugin>