码迷,mamicode.com
首页 > 其他好文 > 详细

idea的maven项目无法引入junit

时间:2018-05-27 13:33:31      阅读:225      评论:0      收藏:0      [点我收藏+]

标签:XML   问题   pre   unit   使用   junit   test   版本   方法   

idea版本:2.6.37

java版本:1.8

junit版本:4.12

出现问题:在使用@Test 无法引入 : org.junit.Test;

解决方法:junit在pom.xml改为junit:4.11解决


idea的maven项目无法引入junit

标签:XML   问题   pre   unit   使用   junit   test   版本   方法   

原文地址:https://www.cnblogs.com/zhaoyandev/p/9095435.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!