junit版本过低的原因,将version 4.12改成version 4.13就可以了
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version>
<scope>test</scope>
</dependency>
junit版本过低的原因,将version 4.12改成version 4.13就可以了
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version>
<scope>test</scope>
</dependency>