本机: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>

相关文章:

  • 2021-12-30
  • 2022-01-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-01
  • 2022-12-23
猜你喜欢
  • 2021-07-08
  • 2021-08-26
  • 2021-07-27
  • 2022-12-23
  • 2021-06-03
  • 2021-12-21
  • 2021-05-15
相关资源
相似解决方案