Problem

@Setter(onMethod_= { @Autowired } 에러

늉_늉 2020. 10. 12. 00:59

import org.springframework.beans.factory.annotation.Autowired;

 

자꾸 @Setter(onMethod_= { @Autowired } )  이부분에 에러가 나서 보니까

autowired 임포트가 빠져있었다 왜그런지는 모르겠지만 

 

빠진 Autowired 를 임포트 시켜주니 에러가 사라졌다.