有没有人试过在不使用maven的情况下运行Cucumber-jvm cli? 如果我尝试执行以下命令,我收到此错误:
java cucumber.api.cli.Main
Error: Could not find or load main class cucumber.api.cli.Main
我甚至试过这个:
java -cp "/Users/jreijn/.m2/repository/info/cukes/cucumber-
core/1.2.5/cucumber-core-
1.2.5.jar:/Users/jreijn/.m2/repository/info/cukes/gherkin/2.12.2/gherkin-
2.12.2.jar:/Users/jreijn/.m2/repository/info/cukes/cucumber-
java/1.2.5/cucumber-java-
1.2.5.jar:/Users/jreijn/.m2/repository/info/cukes/cucumber-jvm-
deps/1.0.5/cucumber-jvm-deps-1.0.5.jar" cucumber.api.cli.Main
我收到同样的错误。