摘要: pom.xml <dependencies> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>5.0.2.RELEASE</version> </ 阅读全文
posted @ 2020-03-31 19:58 ☆♂安♀★ 阅读(2433) 评论(0) 推荐(0) 编辑
摘要: 1、配置来至bean.xml @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(locations = "classpath:bean.xml") //表示在编译完成后在类路径下的beean.xml文件 public clas 阅读全文
posted @ 2020-03-31 00:28 ☆♂安♀★ 阅读(3501) 评论(0) 推荐(0) 编辑