Unable to register MBean [HikariDataSource (HikariPool-0)] with key 'dataSource'

后端 未结 7 1655
盖世英雄少女心
盖世英雄少女心 2021-02-01 03:21

I am getting below error in prod mode for (Java8+Oauth2+MySql+Hazelcast+no clustered http sessions) combination. Dev mode has worked fine.

Unable to register MBe         


        
相关标签:
7条回答
  • 2021-02-01 03:51

    Simply add below annotation on your Config file

    @EnableMBeanExport(registration=RegistrationPolicy.IGNORE_EXISTING)
    

    It will work for you.

    0 讨论(0)
提交回复
热议问题