本機:java版本:1.8
pom中是junit版本:4.12
出現問題:在使用@Test 無法引入 : org.junit.Test;
解決方法:junit在pom.xml改為 4.12-beta-3 解決
pom 重新引入:
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12-beta-3</version>
</dependency>
本機:java版本:1.8
pom中是junit版本:4.12
出現問題:在使用@Test 無法引入 : org.junit.Test;
解決方法:junit在pom.xml改為 4.12-beta-3 解決
pom 重新引入:
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12-beta-3</version>
</dependency>
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。