On Saturday, 13 December 2014 at 11:29, A R K Satyanarayana Raju wrote:
Hi,I am very new to cucumber. When i am trying to execute my feature file i am getting error like,
WARNING: Cucumber-JVM's --format option is deprecated. Please use --plugin instead.Feature: Proof of concept that my framework worksException in thread "main" java.lang.NoSuchMethodError:
gherkin.formatter.model.Scenario.getId()Ljava/lang/String;at cucumber.runtime.ScenarioImpl.<init>(ScenarioImpl.java:28)at cucumber.runtime.Runtime.buildBackendWorlds(Runtime.java:144)at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:38)at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:163)at cucumber.runtime.Runtime.run(Runtime.java:120)at cucumber.api.cli.Main.run(Main.java:36)at cucumber.api.cli.Main.main(Main.java:18)My feature file is:Feature: Proof of concept that my framework worksScenario: My first testGiven this is my first stepWhen this is my second stepThen this is my final stepI am using JDK1.8.Can any one help me...Thanks,Raju
--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Aslak-
When you said "The warning should be self-explanatory. Use --plugin instead of --format. "
How can we use Plugin( Where to install)? Even Today is my first day of learning cucumber, so Dont know exactly- Where to install plugin?
On Saturday, December 13, 2014 6:29:31 AM UTC-5, A R K Satyanarayana Raju wrote:Hi,I am very new to cucumber. When i am trying to execute my feature file i am getting error like,WARNING: Cucumber-JVM's --format option is deprecated. Please use --plugin instead.Feature: Proof of concept that my framework worksException in thread "main" java.lang.NoSuchMethodError: gherkin.formatter.model.Scenario.getId()Ljava/lang/String;at cucumber.runtime.ScenarioImpl.<init>(ScenarioImpl.java:28)at cucumber.runtime.Runtime.buildBackendWorlds(Runtime.java:144)at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:38)at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:163)at cucumber.runtime.Runtime.run(Runtime.java:120)at cucumber.api.cli.Main.run(Main.java:36)at cucumber.api.cli.Main.main(Main.java:18)My feature file is:Feature: Proof of concept that my framework worksScenario: My first testGiven this is my first stepWhen this is my second stepThen this is my final stepI am using JDK1.8.Can any one help me...Thanks,Raju
Hi Aslak,
Hi Aslak,My situation is somewhat similar to Raju's.
however, in my case there is only the following error:java.lang.NoSuchMethodError: gherkin.formatter.model.Scenario.getId()Ljava/lang/String
--
On Fri, Mar 6, 2015 at 9:00 PM, Surbhi A <sehgal....@gmail.com> wrote:Hi Aslak,My situation is somewhat similar to Raju's.No, it's completely different.