Spring boot, @Autowired 오류 문제입니다.

조회수 1374회

이미지 우선 소스코드를 보시면 저기 mapper을 @autowired로 선언할때 오류가 나옵니다.

***************************

APPLICATION FAILED TO START

***************************



Description:



Field 勤怠管理mapper in jp.ac.services.勤怠管理service required a bean of type 'jp.ac.mappers.勤怠管理mapper' 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 'jp.ac.mappers.勤怠管理mapper' in your configuration.

프로젝트는 sprint boot로 진행하였습니다.

이미지

  • (•́ ✖ •̀)
    알 수 없는 사용자

답변을 하려면 로그인이 필요합니다.

프로그래머스 커뮤니티는 개발자들을 위한 Q&A 서비스입니다. 로그인해야 답변을 작성하실 수 있습니다.

(ಠ_ಠ)
(ಠ‿ಠ)