异常:
Unsupported version of junit:c: 3.8.1. Please upgrade to version 4.12 or later
但是我的junit版本是5.8.2,并不低于4.12版本。
解决办法:添加以下依赖
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<version>5.2.0</version>
<scope>test</scope>
</dependency>