본문 바로가기

@autowired이란1

Autowired 어노테이션 이거때문에... 며칠을 삽질했던것인가... 이제 만들기시작한 Controller에 Service를 하나만 입력하고서 무의식적으로 Autowired 어노테이션을 넣어놨더니 오류 일부 발췌 Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'xxxController': Unsatisfied dependency expressed through field 'xxxService'; nested exception is org.springframewor.. 2022. 11. 15.