JPA expected at least 1 bean which qualifies as autowire candidate


JPA expected at least 1 bean which qualifies as autowire candidate

환경 개발언어: 자바 IDE: IntellJ(Community Edition) 프로젝트 SDK: JDK 11 의존성 관리 툴: Maven 오류 메시지 o.s.test.context.TestContextManager : Caught exception while allowing TestExecutionListener [org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@6b53bcc2] to prepare test instance [com.fakeapi.FakeStore.FakeStoreApplicationTests@5cffec7] org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'com.fakeapi.FakeStore.FakeStoreApplica...



원문링크 : JPA expected at least 1 bean which qualifies as autowire candidate