Hey Everyone,
I have following this article/tutorial Create BDD test cases in Katalon Studio | Katalon Docs to create automation test using BDD.
When I run it, this error happen:
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
Please everyone help me!
1 Like
Please follow the below thread
I am trying to execute this line of code from a Test Case
import com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords as CucumberKW
CucumberKW.runFeatureFile('Include/features/Feature.feature')
But I’m getting the next error:
Keyword runFeatureFile was failed (Root cause: 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 …
2 Likes
depapp
November 6, 2024, 8:51am
3
3 Likes
@albert.vu
@Elly_Tran
Problem in Katalon Studio using BDD again and again!
Katalon documentation MUST publish a page in order to explain a complete/definitive resolution for the bug arround BDD/Cucumber.
Where is it?
I find it nowhere in https://docs.katalon.com/ .
It’s a shame.
Are you going to ask users to continue helping each other?
1 Like
thank you for your suggestion
Thank you man, it is solved my issue
1 Like
depapp
November 6, 2024, 10:23am
7
kazurayam:
@albert.vu
@Elly_Tran
Problem in Katalon Studio using BDD again and again!
Katalon documentation MUST publish a page in order to explain the complete/definitive resolution for the bug arround BDD/Cucumber.
Where is it?
I find it nowhere in https://docs.katalon.com/ .
It’s a shame.
Are you going to ask users to continue helping each other?
I have created a boilerplate project for this common issue,
here is the repository link: GitHub - depapp/sample-bdd-project-in-katalon-latest-version: This project is a boilerplate setup for Behavior-Driven Development (BDD) testing in Katalon Studio, compatible with both versions 9 and 10. It provides a structured template designed to streamline the development and execution of BDD tests using Gherkin syntax.
anything feedback/suggestion is really appreciated
3 Likes
@depapp
Thanks you for your great project.
@albert.vu
Katalon publishes a sample BDD (Cucumber) project
This one does not work since some version around v9.5.
How about updating it while learning from @depapp ’s contribution?
Hi,
Thank you for your information. I have let my team know and will review the issues with Katalon Doc about BDD/Cucumber. Thank you!
2 Likes