spring整合junit时@ContextConfiguration没出来,
需导入
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>5.2.1.RELEASE</version>
</dependency> maven依赖,
此依赖中不能存在<scope>test</scope>。
版权声明:本文为qq_44684311原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。