getgauge-contrib/gauge-maven-plugin

java.lang.IllegalStateException: Unable to load cache item

Closed this issue · 1 comments

mvn gauge:execute -DspecsDir=specs

When I run my tests manually from the green arrow, they can run, but when I try to run the tests with the command above, I get the message below for every scenario. I'm not sure if it's a version incompatibility problem. I need your help. Thanks.

Error Message: java.lang.IllegalStateException: Unable to load cache item Stacktrace: java.lang.IllegalStateException: Unable to load cache item

mvn -v
Apache Maven 3.8.7 (b89d5959fcde851dcb1c8946a785a163f14e1e29)
Maven home: /opt/homebrew/Cellar/maven/3.8.7/libexec
Java version: 19.0.2, vendor: Homebrew, runtime: /opt/homebrew/Cellar/openjdk/19.0.2/libexec/openjdk.jdk/Contents/Home
Default locale: en_TR, platform encoding: UTF-8
OS name: "mac os x", version: "13.2.1", arch: "aarch64", family: "mac"
java -version
openjdk version "1.8.0_362"
OpenJDK Runtime Environment Corretto-8.362.08.1 (build 1.8.0_362-b08)
OpenJDK 64-Bit Server VM Corretto-8.362.08.1 (build 25.362-b08, mixed mode)

This issue was due to the incompatibility of java and maven versions.