Kepha
06/16/2020, 2:54 AMError:
The bean ‘documentationPluginsManager’, defined in class path resource [kr/co/korbit/gia/config/SwaggerConfig.class], could not be registered. A bean with that name has already been defined in URL [jarfile/Users/kepha_local/.gradle/caches/modules-2/files-2.1/io.springfox/springfox-spring-web/2.9.2/ed2ed714a6cba8804d00f80f0534901e4c7a3211/springfox-spring-web-2.9.2.jar!/springfox/documentation/spring/web/plugins/DocumentationPluginsManager.class] and overriding is disabled.
Action:
Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true
Can I override a predefined bean with my custom bean ?
I have added spring.main.allow-bean-definition-overriding=true to application.yml but It do not work.