Hi community,
I’m currently experiencing an issue when running test suites in Katalon Studio related to Jackson-core. Here are the details:
Caused by: java.lang.UnsupportedClassVersionError:
META-INF/versions/21/com/fasterxml/jackson/core/io/doubleparser/FastDoubleSwar
has been compiled by a more recent version of the Java Runtime (class file version 65.0),
this version of the Java Runtime only recognizes class file versions up to 61.0
Environment:
- Katalon Studio version: 10.x.x (latest stable release)
- macOS: macOS 14.x (running on MacBook Pro M1)
- Java: OpenJDK 17 (Temurin 17.0.15)
- Node / npm: Installed properly for Appium setup
- Appium version: 2.18.0
What I’ve Tried So Far:
- Verified that
java -version
returns OpenJDK 17. - Confirmed that
System.getProperty("java.version")
within the test shows 17.0.14. - Ensured that Jackson dependencies are not explicitly overridden in my project.
- Tried to downgrade Jackson to 2.14.x using a Test Listener, but this caused Katalon to fail to launch due to dependency conflicts.
- Even when overriding Jackson manually,
byte-buddy
conflicts (such asIncompatibleClassChangeError
) occur during runtime. - Tried renaming
byte-buddy-1.14.3.jar
to prevent it from being loaded, but Katalon still references it.
Question:
- Is Jackson-core 2.17.x bundled by default with the latest Katalon Studio?
- If yes, why is it being compiled with Java 21 (class file version 65) while Katalon only supports up to Java 17 (class version 61)?
- Is there a recommended way to override or isolate Jackson-related dependencies without breaking other parts of Katalon?
- Or, is there an official Katalon build that supports Java 21 natively and fully?
I would greatly appreciate any advice or recommended configuration that can help resolve this issue. Thanks in advance!