同时两个SpringBoot项目放在Tomcat下启动,第二个项目会报unable to register MBean
解决方法:
在SpringBoot项目中配置文件加上
spring.jmx.enabled=false
https://stackoverflow.com/questions/27440985/unable-to-register-mbean-hikaridatasource-hikaripool-0-with-key-datasource
————————————————
版权声明:本文为CSDN博主「Damionew」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/Damionew/java/article/details/78959950