Groovy complier mismatch error - KS v9.4.0

I randomly seeing this error for some days

Groovy: compiler mismatch: project level is 2.4, workspace level is 3.0

Upon restarting KS, the error is gone and I can successfully execute tests but at some point later on, it starts showing again.

Any solution…?

1 Like

Hi there,

Thank you very much for your topic. Please note that it may take a little while before a member of our community or from Katalon team responds to you.


Pleat try removing the directories:

  • <projectDir>/.cache
  • <projectDir>/bin
  • <projectDir>/Libs

Close and reopen the project.

I suppose you had the class binaries in the .cache directory which were compiled using the Groovy 2.4 in Katalon Studio v8.x. Now you are on Katalon Studio v9.x with Groovy 3.x. So you need to clearn the project and rebuild it. The above 3 directories should be initialized.

I reported the following bug 2 years ago.


You were assinged for this issue. Why don’t you fix it?

… I would presume that you were too busy for developping AI-something features.


I would suggest Katalon to deprecate the feature of caching class binary files in the ./cache directory entirely. In my opinion, it was a mistake. It improved nothing. It just added risk of strange behavior which @zahid.asim and others were annoyed. Many more users will be confused in future.