java.lang.ClassFormatError: Illegal method name "com.qa.utility.CommonExcelUtil.openExcelFile" in class CustomKeywords

I am using Katalon 8.5.5 and getting this error randomly for all my tests while using pre-built keywords. Getting this below error

java.lang.ClassFormatError: Illegal method name “com.qa.utility.CommonExcelUtil.openExcelFile” in class CustomKeywords

Same as

remove .cache folder in the project. close your project and reopen it.

See also

edit .gitignore file to igore the .cache/ folder

1 Like

Thanks @kazurayam for sharing your views but still facing the same issue.

Try deleting

  • projectDir/bin
  • projectDir/Libs

and stop/restart Katalon

2 Likes

How about trying to rename the class to com.qa.utility.CommonExcelUtilTemp and see how it works.

2 Likes