java.lang.IllegalStateException

Could not register object [org.springframework.boot.autoconfigure.AutoConfigurationReportLoggingInitializer$AutoConfigurationReportLogger@2fd6b6c7] under bean name 'autoConfigurationReportLogger': there is already object [org.springframework.boot.autoconfigure.AutoConfigurationReportLoggingInitializer$AutoConfigurationReportLogger@5bfa9431] bound

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web9

  • via Unknown by Stepan Koltsov,
  • via Unknown by Stepan Koltsov,
  • Stack trace

    • java.lang.IllegalStateException: Could not register object [org.springframework.boot.autoconfigure.AutoConfigurationReportLoggingInitializer$AutoConfigurationReportLogger@2fd6b6c7] under bean name 'autoConfigurationReportLogger': there is already object [org.springframework.boot.autoconfigure.AutoConfigurationReportLoggingInitializer$AutoConfigurationReportLogger@5bfa9431] bound at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.registerSingleton(DefaultSingletonBeanRegistry.java:129) at org.springframework.beans.factory.support.DefaultListableBeanFactory.registerSingleton(DefaultListableBeanFactory.java:778) at org.springframework.boot.autoconfigure.AutoConfigurationReportLoggingInitializer.initialize(AutoConfigurationReportLoggingInitializer.java:60) at org.springframework.boot.SpringApplication.applyInitializers(SpringApplication.java:403) at org.springframework.boot.SpringApplication.run(SpringApplication.java:287) at org.springframework.boot.SpringApplication.run(SpringApplication.java:749) at org.springframework.boot.SpringApplication.run(SpringApplication.java:738) at ru.yandex.salmon.SalmonMain.main(SalmonMain.java:22) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:491) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    tvrmsmithtvrmsmith
    2 times, last one