上图加下图的包
在pom.xml文件中的里面添加如下代码即可。
<dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> </dependency>