Springboot+idea的一个bug(Unregistering JMX-exposed beans on shutdown)

Unregistering JMX-exposed beans on shutdown

添加代码:

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>

还有就是tomcat无法启动,先把run任务关闭掉,打开任务管理器,关闭Java.exe这个任务。然后再run就ok了。

猜你喜欢

转载自blog.csdn.net/chehec2010/article/details/83657989
今日推荐