次のようなフィーチャーファイルを実行しようとしています。キュウリの日食にステップに一致するグルーコードのエラーがありません
Feature: Prove the concept of my script
Scenario: My first Test
Given This is my first step
When This is my second step
Then This is my third step
と私は、この機能のファイルを実行すると、それは次のと手順は声明で強調されているというエラー与える「の手順は、グルーコードを持っていません。」
エラーは次のように表示されます。上記の機能ファイルを実行し、その機能の欠落しているファイルを知りたい。
Exception in thread "main" java.lang.NoClassDefFoundError: gherkin/lexer/Encoding
at cucumber.runtime.FeatureBuilder.read(FeatureBuilder.java:154)
at cucumber.runtime.FeatureBuilder.parse(FeatureBuilder.java:115)
at cucumber.runtime.model.CucumberFeature.loadFromFeaturePath(CucumberFeature.java:104)
at cucumber.runtime.model.CucumberFeature.load(CucumberFeature.java:54)
at cucumber.runtime.model.CucumberFeature.load(CucumberFeature.java:34)
at cucumber.runtime.RuntimeOptions.cucumberFeatures(RuntimeOptions.java:235)
at cucumber.runtime.Runtime.run(Runtime.java:110)
at cucumber.api.cli.Main.run(Main.java:36)
at cucumber.api.cli.Main.main(Main.java:18)
Caused by: java.lang.ClassNotFoundException: gherkin.lexer.Encoding
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 9 more
、私はキュウリにスターターと私はこの問題を解決したいしてください。あなたができるなら私を助けてください。