반응형
@Autowired 한 service 를 실행하면 NullPointException 으로 계속 오류가 나서..
구글링 구글링 하니까
SpringBeanAutowiringSupport.processInjectionBasedOnCurrentContext(this);
이거 한 줄 추가하면 된다고 하더이다...
그랬더니 잘됨 ^^
반응형
@Autowired 한 service 를 실행하면 NullPointException 으로 계속 오류가 나서..
구글링 구글링 하니까
SpringBeanAutowiringSupport.processInjectionBasedOnCurrentContext(this);
이거 한 줄 추가하면 된다고 하더이다...
그랬더니 잘됨 ^^
댓글