gpt4 book ai didi

intellij-idea - 无法解析 IntelliJ 中的符号 "CucumberOptions"

转载 作者:行者123 更新时间:2023-12-02 04:03:08 25 4
gpt4 key购买 nike

即使在将“cucumber-java”和“cucumber-junit”添加到我的 pom.xml 后,我仍然在 IntelliJ 中看到“无法解析 CucumberOptions”错误

enter image description here

最佳答案

花了很多时间,我发现pom.xml中的依赖有问题

除了“cucumber-java”和“cucumber-junit”之外,您还需要添加“cucumber-core”

    <!-- https://mvnrepository.com/artifact/info.cukes/cucumber-core -->
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-core</artifactId>
<version>1.2.5</version>
</dependency>

关于intellij-idea - 无法解析 IntelliJ 中的符号 "CucumberOptions",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40955850/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com