[Spring Boot] ERROR: Failed to load ApplicationContext

Spring Boot

2022-07-05 00:41 (KST) (Update : 2022-07-05 00:45)

Language :

Error Message

conflicts with existing, non-compatible bean definition of same name and class

원인

Bean 중복

조치

동일한 파일명과 Annotation으로 설정된 파일이 없는 지 확인하기

없는 경우 아래 순서대로 Gradle 실행

  • Gradle > Tasks > build > clean
  • Gradle > Tasks > build > build

민갤

Back-End Developer

꾸잉꾸잉하고 웁니다.