카테고리 없음
A bean with that name has already been defined
이영애님
2019. 12. 1. 03:36
#
oauth2ClientFilterRegistration could not be registered
A bean with that name has already been defined in com.example.SocialApplication and overriding is disabled
#
Spring Boot 2 now disables that sort of bean overriding by default.
You can re-enable it by setting the following property in your application.yml:
#
[application.yml]
spring.main.allow-bean-definition-overriding=true