오류 – 최소 1개의 빈이 Autowire 후보로 적합할 것으로 예상됩니다. 종속성 주석: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
오류 코드 설명: com.example.lesson04.Lesson04Ex01Controller의 userBO 필드에 com.example.lesson04.bo.UserBO 유형의 빈이 필요했지만 찾을 수 없었습니다. 주입 지점에는 다음과 같은 주석이 있습니다. – @org.springframework.beans.factory.annotation.Autowired(필수=참) 2023-03-24 11:35:02.639 DEBUG(org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter) 예외로 인해 애플리케이션을 시작하지 못했습니다. org.springframework.beans.factory.NoSuchBeanDefinitionException: 사용 가능한 ‘com.example.lesson04.bo.UserBO’ 유형의 적격 빈 없음: 최소 1개의 빈이 Autowire 후보로 적격할 것으로 예상합니다. 종속성 참고 사항: {@org.springframework.beans.factory.annotation.Autowired(required=true)} 해결 방법 원인: 주석을 사용하지 않아 … Read more