2022年9月5日
摘要: 转载自:https://www.cnblogs.com/zhian/p/12600429.html 因为在Test里面使用了注解@Autowired 引入来至bean.xml文件的内容 ,而在Test没有没有办法自动引入,需要在Test类上加上注解 @ContextConfiguration(loc 阅读全文
posted @ 2022-09-05 10:55 大大大飞机 阅读(959) 评论(0) 推荐(0)