springBoot中关于非controller或service类中用@Autowired 注解报空指针的问题

NoSuchKey