spring boot启动时报错:Unregistering JMX-exposed beans on shutdown
这个错误根据查的结果,是由于发生了tomcat问题,很可能是没将tomcat启动。
网上的结果要么更换scope,要么添加tomcat-starter;但是我查询了jar包,是有tomcat的,莫非是不兼容的?
我把starter降了0.2个版本,很可能是由于eclipse的兼容性,spring boot太新它反而用不了?
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>1.3.0</version>
</dependency>