摘要: 上图中zsBankService使用@Autowired是null值,原因是SignInOut类不在spring容器中。解决方法1:在SignInOut类上加上@Component注解解决方法2:写一个应用上下文的工具类 @Componentpublic class SpringContextUti 阅读全文
posted @ 2022-04-20 10:31 一个追求未知的人 阅读(221) 评论(0) 推荐(0)