摘要: 因为在Test里面使用了注解@Autowired 引入来至bean.xml文件的内容 ,而在Test没有没有办法自动引入,需要在Test类上加上注解 @ContextConfiguration(locations = "classpath:bean.xml")不然会报以下错误 Caught exce 阅读全文
posted @ 2020-03-30 18:52 ☆♂安♀★ 阅读(6268) 评论(0) 推荐(0) 编辑