线程“主” cucumber.runtime.CucumberException中的异常:无法识别的插件:org.jetbrains.plugins.cucumber.java.run.CucumberJvm3SMFormatter

时间:2018-12-22 21:09:06

标签: intellij-idea cucumber-java

从intellij运行黄瓜功能/场景时出错。 我已经安装了最新版的Java黄瓜插件(v183.4284.148)

 Exception in thread "main" cucumber.runtime.CucumberException: Unrecognized plugin: org.jetbrains.plugins.cucumber.java.run.CucumberJvm3SMFormatter
at cucumber.runtime.RuntimeOptions.addPluginName(RuntimeOptions.java:171)
at cucumber.runtime.RuntimeOptions.parse(RuntimeOptions.java:122)
at cucumber.runtime.RuntimeOptions.<init>(RuntimeOptions.java:84)
at cucumber.runtime.RuntimeOptions.<init>(RuntimeOptions.java:77)
at cucumber.runtime.RuntimeOptions.<init>(RuntimeOptions.java:69)
at cucumber.api.cli.Main.run(Main.java:31)
at cucumber.api.cli.Main.main(Main.java:18)

以退出代码1完成的过程

以下是我对build.gradle的依赖

dependencies {
compile group: 'org.glassfish.jersey.core', name: 'jersey-client', version: '2.27'
compile group: 'org.glassfish', name: 'javax.json', version: '1.1.2'
compile group: 'org.glassfish.jersey.inject', name: 'jersey-hk2', version: '2.27'
compile group: 'com.jayway.jsonpath', name: 'json-path-assert', version: '2.4.0'
compile group: 'com.google.guava', name: 'guava', version: '25.0-jre'
compile group: 'io.cucumber', name: 'cucumber-java8', version: '4.2.0'
compile group: 'io.cucumber', name: 'cucumber-junit', version: '4.2.0'
compile group: 'junit', name: 'junit', version: '4.12'
compile group: 'org.hamcrest', name: 'hamcrest-all', version: '1.3'
compile group: 'uk.sponte.automation', name: 'selenium-pom', version: '3.0.12'
compile group: 'org.reflections', name: 'reflections', version: '0.9.11'
compile group: 'io.cucumber', name: 'cucumber-picocontainer', version: '4.2.0'
compile group: 'org.slf4j', name: 'slf4j-log4j12', version: '1.7.25'
compile group: 'org.mongodb', name: 'mongo-java-driver', version: '3.6.3'
compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.+'
testCompile group: 'org.awaitility', name: 'awaitility', version: '3.1.2'

}

在2018年12月20日之前一切正常。尝试重新安装intellij,重新安装了适用于Java插件的黄瓜,使用了不同版本的Cucuming-java8和Cucuming-Junit,无济于事

0 个答案:

没有答案