-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.lang.UnsupportedClassVersionError: org/simpleflatmapper/util/CheckedConsumer has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0 #673
Comments
is this error in intellij? does the build work from the command line with java8? the artifact version is managed via profiles that depends on the vm that is ran, somenody recently at an issue in intellij running with sdk 7... |
Hi running "mvn test" from the command line does not produce this error. The jdk for import is "Use Internal JRE (java version 11.0.3+12)". even when i switch do a OpenJdk8 version from my computer the error occurs.Same with Oracle JDK 8 version |
have you tried reimporting the maven project after changing the importer? the dependency classifier is selected depending the the jvm running - I tried to see if there is a way to force the classifier down the dependency tree to no avail so far. |
Hi @arnaudroger thanks for the help. After reimport everything works as expected :) Tests run from Intellij runs successfully :) |
🍾 will need to document that, it's a bit of pain that I can't seem to be able to solve that in maven ... |
there is already an issue https://youtrack.jetbrains.com/issue/IDEA-203432 |
that should be fixed in 8 |
Hi , i have a strange error currently. When running some tests for a software which has a depnedency to simpleflat mapper jdbc (Version 6.7.0) i get this error
"java.lang.UnsupportedClassVersionError: org/simpleflatmapper/util/CheckedConsumer has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0"
I use Intellij and set
So i wonder why this file is compiled with Java 9.
a few weeks ago i run the same version of the software with an olde rIntellij version and everything was fine. Also on gitlab ci this error does not happen.
Has anyone a clue what happened ?
The text was updated successfully, but these errors were encountered: