빈을 찾지 못하는 에러

이태규·2022년 3월 29일
0

spring

목록 보기
25/64

Description:

Field iService in com.example.controller.ItemController required a bean of type 'com.example.service.ItemService' that could not be found.

The injection point has the following annotations:
        - @org.springframework.beans.factory.annotation.Autowired(required=true)


Action:

Consider defining a bean of type 'com.example.service.ItemService' in your configuration.

어노테이션 @Service를 누락해서 발생하는 오류

profile
한 걸음씩 나아가자

0개의 댓글