【问题标题】:junit-jupiter-engine v5.0.1 not working with eclipse Oxygen.3a Release (4.7.3a)junit-jupiter-engine v5.0.1 不适用于 eclipse Oxygen.3a 版本 (4.7.3a)
【发布时间】:2018-10-10 09:57:07
【问题描述】:

我在运行 junit 测试类时偶然发现了这个异常(有问题的版本标题)。

正如我在thread 中读到的,我必须升级到 eclipse Oxygen.3,我做到了,但仍然抛出了同样的异常。

【问题讨论】:

    标签: eclipse junit5 eclipse-oxygen junit-jupiter


    【解决方案1】:

    也许你的 pom 中缺少平台。

      <dependency>
         <groupId>org.junit.platform</groupId>
         <artifactId>junit-platform-launcher</artifactId>
         <version>${junit.platform.version}</version>
         <scope>test</scope>
      </dependency>
    

    【讨论】:

    • 究竟缺少什么!
    猜你喜欢
    • 1970-01-01
    • 2018-07-05
    • 2020-07-05
    • 2018-10-18
    • 2020-03-30
    • 2020-10-09
    • 2018-10-18
    • 2018-11-23
    • 1970-01-01
    相关资源
    最近更新 更多