https://blog.csdn.net/qq_38361800/article/details/91492812
报错:org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to register MBean [HikariDataSource (null)] with key 'dataSource'; nested exception is javax.management.InstanceAlreadyExistsException: com.zaxxer.hikari:name=dataSource,type=HikariDataSource
解决方法:
在application.yml中添加以下内容:
spring: jmx: default-domain: [application_name]
或者
spring.jmx.enabled=false