[Error] 테스트 코드 실행 시 Parameter 1 of constructor in com.PostRestController required a bean of type 'com.service.LikeService' that could not be found. 발생 이유
·
Server/Error
문제 발생 새로운 API를 제작하면서 테스트코드를 진행하던 도중, 모든 테스트 코드가 먹통이 되기 시작했다. Application Run을 했을 경우에는 에러가 발생하지 않았다. 에러코드 Description: Parameter 1 of constructor in com.likelion.finalproject.controller.restcontroller.PostRestController required a bean of type 'com.likelion.finalproject.service.LikeService' that could not be found. Action: Consider defining a bean of type 'com.likelion.finalproject.service.LikeSe..