不多说,直接上干货!
问题详情
当我们在运行程序时,出现Error:scalac:error while loading JUnit4 , Scala signature JUnit4 has wrong version,见下图。
原因所在
![](https://i-blog.csdnimg.cn/blog_migrate/e94535217d2afacdfa980532b24099a5.png)
![](https://i-blog.csdnimg.cn/blog_migrate/049ea2cd2972e64408b73f7d842f64fb.png)
![](https://i-blog.csdnimg.cn/blog_migrate/0d0ce983f874579270d070f8af37f1cb.png)
<dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency>
![](https://i-blog.csdnimg.cn/blog_migrate/75943f316ad316d101ed41f341dd30c1.png)
![](https://i-blog.csdnimg.cn/blog_migrate/bbf4476c94b2a7ef39754dc5821a7d78.png)
同时,大家可以关注我的个人博客:
http://www.cnblogs.com/zlslch/ 和 http://www.cnblogs.com/lchzls/ http://www.cnblogs.com/sunnyDream/
详情请见:http://www.cnblogs.com/zlslch/p/7473861.html
人生苦短,我愿分享。本公众号将秉持活到老学到老学习无休止的交流分享开源精神,汇聚于互联网和个人学习工作的精华干货知识,一切来于互联网,反馈回互联网。
目前研究领域:大数据、机器学习、深度学习、人工智能、数据挖掘、数据分析。 语言涉及:Java、Scala、Python、Shell、Linux等 。同时还涉及平常所使用的手机、电脑和互联网上的使用技巧、问题和实用软件。 只要你一直关注和呆在群里,每天必须有收获
对应本平台的讨论和答疑QQ群:大数据和人工智能躺过的坑(总群)(161156071)