본문 바로가기
SOFTWARE/ERROR

[JAVA] Quartz 에서 Autowired 한 Service 실행시 NullPointException 오류

by eooa 2022. 9. 20.
반응형

@Autowired 한 service 를 실행하면 NullPointException 으로 계속 오류가 나서..

구글링 구글링 하니까

SpringBeanAutowiringSupport.processInjectionBasedOnCurrentContext(this);

이거 한 줄 추가하면 된다고 하더이다...

 

그랬더니 잘됨 ^^

반응형

댓글