Caught: java.lang.ClassFormatError: Illegal method name "com.kms.katalon.keyword.excel.ExcelKeywords.createExcelFile" in class CustomKeywords

Hy, I’m using Katalon 9 and KRE 9. I get this message every time when I use KRE, and when i start and verify a WS request.:

Picked up JAVA_TOOL_OPTIONS: -Djava.vendor=“Sun Microsystems Inc.”
Caught: java.lang.ClassFormatError: Illegal method name “com.kms.katalon.keyword.excel.ExcelKeywords.createExcelFile” in class CustomKeywords
java.lang.ClassFormatError: Illegal method name “com.kms.katalon.keyword.excel.ExcelKeywords.createExcelFile” in class CustomKeywords
at com.kms.katalon.core.main.TestCaseMain.modifyCustomKeywordsClassAtRunTime(TestCaseMain.java:120)
at com.kms.katalon.core.main.TestCaseMain.beforeStart(TestCaseMain.java:64)
at com.kms.katalon.core.main.TestCaseMain$beforeStart.call(Unknown Source)
at TempTestSuite1706259879411.run(TempTestSuite1706259879411.groovy:34)

I already try delete cache and restart Katalon. I dont use this Keyword. I try to look up for this class but not found.

Thanks,
T

2 Likes

@Elly_Tran I don’t believe KS uses Java from Sun Microsystems Inc. Does it?