刚在学习SpringBoot时,进行测试,明明下午构建的项目就是正确的,但现在却报错:
pom中的依赖也确定添加了:
<dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-test</artifactId><scope>test</scope><exclusions><exclusion><groupId>org.junit.vintage</groupId><artifactId>junit-vintage-engine</artifactId></exclusion></exclusions>
</dependency>