更新时间:2022-06-25 00:46:57
尝试将命令行缩短方法更改为 JAR清单。
Try to change command line shortening method to "JAR manifest".
将项目从Java 8升级到Java 11之后,我遇到了完全相同的问题。看来这是IntelliJ IDEA错误。
I had exactly the same issue after upgrading my project from Java 8 to Java 11. It looks like it is IntelliJ IDEA bug.
Hint for solution taken from here: https://intellij-support.jetbrains.com/hc/en-us/community/posts/360000022399-Error-running-a-cucumber-test-case-Caused-by-java-lang-NoClassDefFoundError-java-sql-Time