Hi eveyone,
I’m try use input a component a page using the Vaadin copilot and get a error.
Unsupported class file major version 61.
Hi eveyone,
I’m try use input a component a page using the Vaadin copilot and get a error.
Unsupported class file major version 61.
What Java version are you using to run the app?
61 is Java 17.
Thanks for response, @SimonMartinelli…
I’m use a Java 17… this is the problem.
The minimum version is 17
Double-check that your execution environment also has Java 17. Even if you have Java 17 installed and set as JAVA_HOME, it could still be e.g. your IDE that uses an older version.
It could also be that there is a version conflict of e.g. the asm library in the project, check using ´mvn dependency:tree`.
org.ow2.asm:asm
is supposed to be version 9.7
there really was a lib with an old version of asm…
it worked, thanks