@RunWith(SpringRunner.class)中的SpringRunner.class一直引入不了,各位能帮忙看下么?
@RunWith(SpringRunner.class)中的SpringRunner.class一直引入不了,各位能帮忙看下么?,这些包确定都导入了,但感觉对解决这个问题没作用。。。
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <scope>test</scope> </dependency>
<dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.10</version> <!--<scope>test</scope>--> </dependency>
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-test</artifactId> <version>2.0.3.RELEASE</version> <!--<scope>test</scope>--> </dependency>