有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

硒木卫一。黄瓜果心例外黄瓜例外:爪哇。lang.NoClassDefFoundError:io/cucumber/core/internal/gherkin/ast/Node

当我使用run as‘JUnit Test’运行下面的代码片段时。我面临以下错误消息PFA

    import org.junit.runner.RunWith;
    
    import io.cucumber.junit.Cucumber;
    import io.cucumber.junit.CucumberOptions;
    
    @RunWith(Cucumber.class)
    @CucumberOptions(
            features= {"src/test/resources/AppFeatures"},
            glue= {"stepdefinitions", "AppHooks"},
            plugin= {"pretty",
                    "com.aventstack.extentreports.cucumber.adapter.ExtentCucumberAdapter:",
                    "timeline:test-output-thread/"
                    
            }   //pretty keyword used for printing purpose
            )
    
    
    
    public class MyTestRunner {
    
    }

the stack trace


共 (0) 个答案