java: 程序包org.junit不存在 解决方法 修改 pom.xml 文件中的 junit 版本号 <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.11</version> <scope>test</scope> </dependency> </dependencies> 改为 4.12,pom更新后就不报错了