使用@Autowired注解的类本身也必须是Spring Bean
你可以在spring配置文件中定义这个bean,或开启自动扫描
@Autowired注解的类 空指针(nullpointment)
猜你喜欢
转载自www.cnblogs.com/wuxingang/p/10809670.html
今日推荐
周排行