采纳答案成功!
向帮助你的同学说点啥吧!感谢那些助人为乐的人
我把Pom.xml中<scope>test</scope>删掉之后就好了,是不是不太妥当?
同学好,妥的,新版eclipse要求把这个标签给删除
我的pom.xml
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>${spring.version}</version>
<scope>test</scope>
</dependency>
报错
Multiple markers at this line
- Class<SpringJUnit4ClassRunner> cannot be resolved to
a type
ContextConfiguration cannot be resolved to a type
The import org.springframework.test cannot be resolved
登录后可查看更多问答,登录/注册
SSM商铺V1.0,解决毕设痛点;SpringBoot商铺V2.0,满足工作刚需
2.3k 47
2.4k 41
3.2k 40
2.3k 39
2.1k 37
购课补贴联系客服咨询优惠详情
慕课网APP您的移动学习伙伴
扫描二维码关注慕课网微信公众号