Hi, I’m having a problem with running tests in Int...
# kotest
p
Hi, I’m having a problem with running tests in IntelliJ using the Kotest plugin after updating the Java version of my project, seeing this error:
… has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
I can fix this in the run config by changing the Java version in the drop-down, but would need to do this for every test that I run Is there a way to get the Kotest plugin to default to a specific Java version?
In another project we have the Kotest plugin is correctly defaulting to Java version 17, but I don’t know where that version is set in the project 🤔
m
hmm could it be that you need to change the default in file > project structure > SDK ?
p
That was it, it was set to 11 in there and after setting that to 17 it works gratitude thank you