<;终止>;TestRunner[Junit]D:\Java\JDK-14.0.1\bin\javaw.exe

<;终止>;TestRunner[Junit]D:\Java\JDK-14.0.1\bin\javaw.exe,java,junit,cucumber,test-runner,Java,Junit,Cucumber,Test Runner,当我执行runner类时,我得到了这个错误“TestRunner[Junit]D:\Java\JDK-14.0.1\bin\javaw.exe” POM.xml-依赖关系 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0

当我执行runner类时,我得到了这个错误“TestRunner[Junit]D:\Java\JDK-14.0.1\bin\javaw.exe”

POM.xml-依赖关系

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <groupId>FreeCrmBDDFramework</groupId>
  <artifactId>FreeCrmBDDFramework</artifactId>
  <version>0.0.1-SNAPSHOT</version>

  <name>FreeCrmBDDFramework</name>
  <!-- FIXME change it to the project's website -->
  <url>http://www.example.com</url>

  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <maven.compiler.source>1.7</maven.compiler.source>
    <maven.compiler.target>1.7</maven.compiler.target>
  </properties>

  <dependencies>
      <dependency>
      <groupId>io.cucumber</groupId>
      <artifactId>cucumber-java</artifactId>
      <version>6.0.0-RC2</version>
  </dependency>

    <dependency>
      <groupId>io.cucumber</groupId>
      <artifactId>cucumber-jvm</artifactId>
      <version>3.0.0</version>
      <type>pom</type>
  </dependency>
      <dependency>
      <groupId>io.cucumber</groupId>
      <artifactId>cucumber-junit</artifactId>
      <version>6.0.0-RC2</version>
  </dependency>
      <dependency>
      <groupId>io.cucumber</groupId>
      <artifactId>cucumber-jvm-deps</artifactId>
      <version>1.0.6</version>
      <scope>provided</scope>
  </dependency>
      <dependency>
      <groupId>net.masterthought</groupId>
      <artifactId>cucumber-reporting</artifactId>
      <version>5.3.0</version>
  </dependency>
      <dependency>
      <groupId>io.cucumber</groupId>
      <artifactId>gherkin</artifactId>
      <version>13.0.0</version>
  </dependency>
          <dependency>
      <groupId>org.seleniumhq.selenium</groupId>
      <artifactId>selenium-java</artifactId>
      <version>3.141.59</version>
  </dependency>

  </dependencies>

  <build>
    <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
      <plugins>
        <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle

4.0.0
FreeCrmBDDFramework
FreeCrmBDDFramework
0.0.1-快照
FreeCrmBDDFramework
http://www.example.com
UTF-8
1.7
1.7
黄瓜
黄瓜爪哇
6.0.0-RC2
黄瓜
黄瓜
3.0.0
聚甲醛
黄瓜
黄瓜刺柏
6.0.0-RC2
黄瓜
黄瓜汁
1.0.6
假如
网络智囊团
黄瓜报道
5.3.0
黄瓜
小黄瓜
13.0.0
org.seleniumhq.selenium
硒爪哇
3.141.59
maven清洁插件
3.1.0
maven资源插件
3.0.2
maven编译器插件
3.8.0
maven surefire插件
2.22.1
maven jar插件
3.0.2
maven安装插件
2.5.2
maven部署插件
2.8.2
maven站点插件
3.7.1
maven项目信息报告插件
3.0.0


由于我们不清楚如何添加屏幕截图和依赖项文件,您能否分享日志的图像?请提出建议。请在你的问题中更新我的朋友:)到目前为止,你提供的信息有很多地方是错误的。这些可能与您看到的错误有关,也可能与您看到的错误无关,但它们肯定无助于解决问题。您可能希望从头开始,因为我们不清楚如何添加屏幕截图和依赖项文件,请您共享日志的图像,好吗?请提出建议。请在你的问题中更新我的朋友:)到目前为止,你提供的信息有很多地方是错误的。这些可能与您看到的错误有关,也可能与您看到的错误无关,但它们肯定无助于解决问题。你可能想从零开始
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <groupId>FreeCrmBDDFramework</groupId>
  <artifactId>FreeCrmBDDFramework</artifactId>
  <version>0.0.1-SNAPSHOT</version>

  <name>FreeCrmBDDFramework</name>
  <!-- FIXME change it to the project's website -->
  <url>http://www.example.com</url>

  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <maven.compiler.source>1.7</maven.compiler.source>
    <maven.compiler.target>1.7</maven.compiler.target>
  </properties>

  <dependencies>
      <dependency>
      <groupId>io.cucumber</groupId>
      <artifactId>cucumber-java</artifactId>
      <version>6.0.0-RC2</version>
  </dependency>

    <dependency>
      <groupId>io.cucumber</groupId>
      <artifactId>cucumber-jvm</artifactId>
      <version>3.0.0</version>
      <type>pom</type>
  </dependency>
      <dependency>
      <groupId>io.cucumber</groupId>
      <artifactId>cucumber-junit</artifactId>
      <version>6.0.0-RC2</version>
  </dependency>
      <dependency>
      <groupId>io.cucumber</groupId>
      <artifactId>cucumber-jvm-deps</artifactId>
      <version>1.0.6</version>
      <scope>provided</scope>
  </dependency>
      <dependency>
      <groupId>net.masterthought</groupId>
      <artifactId>cucumber-reporting</artifactId>
      <version>5.3.0</version>
  </dependency>
      <dependency>
      <groupId>io.cucumber</groupId>
      <artifactId>gherkin</artifactId>
      <version>13.0.0</version>
  </dependency>
          <dependency>
      <groupId>org.seleniumhq.selenium</groupId>
      <artifactId>selenium-java</artifactId>
      <version>3.141.59</version>
  </dependency>

  </dependencies>

  <build>
    <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
      <plugins>
        <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle