spring引入单元测试的时候报错 项目导入junit4和spring4相关的jar包后,在测试类上写@RunWith(SpringJUnit4ClassRunner.class)出现报错, 确定spring-test这个包导入后, 要ctrl+shift+o导包,解决报错问题