标签:pos down 接收 shu 个人 xposed 关于 tin 原因
其实这个错误并不影响程序的运行,但是对于处女座的同仁来说,看到报错难免不舒服,那么看看解决方法,此错误信息的意思是说:在关机状态下未注册jmx暴露的bean。
解决方案是在入口类上加上 @EnableMBeanExport(registration = RegistrationPolicy.IGNORE_EXISTING) 的注解
至于原因,个人理解是因为:因为springboot里面为了看到每个bean的性能,所以监视每个bean,JMX就是后台监控,如果要接收Bean的话,就要注册,然后JMX检测到有为注册或重复注册的Bean就会报这个错
关于运行springboot时报Unregistering JMX-exposed beans on shutdown的解决方案
标签:pos down 接收 shu 个人 xposed 关于 tin 原因
原文地址:https://www.cnblogs.com/lwh-note/p/8947334.html