摘要: 在测试类上添加注解@RunWith(SpringJUnit4ClassRunner.class)和@ContextConfiguration(locations = {"classpath:spring的配置文件位置"}) 具体配置如下 package com.juyss.test; import 阅读全文
posted @ 2020-10-17 21:51 juyss 阅读(261) 评论(0) 推荐(0)