
[Spring Boot] ERROR: Failed to load ApplicationContext
Spring BootError Message
conflicts with existing, non-compatible bean definition of same name and class
원인
Bean 중복
조치
동일한 파일명과 Annotation으로 설정된 파일이 없는 지 확인하기
없는 경우 아래 순서대로 Gradle 실행
- Gradle > Tasks > build > clean
- Gradle > Tasks > build > build