-
Notifications
You must be signed in to change notification settings - Fork 210
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
class file has wrong version 55.0, should be 53.0 #31
Comments
Class file version 53 is Java 9 and version 55 is java 11 - are you sure you set Maven to use the desired java version and not just java home? Try to run
and compiles fine. |
Ah so that's what the problem could be, I will run the command in the terminal and print the output |
OK so I ran
I switched to Java 1.8.0_252 provided by the Debian Stretch software repositories and ran the same command and it gave me the same output. |
Any solution on this problem? I am running into same thing on my gradle project. |
Nothing so far bro, been waiting for a while, not sure what's happening |
I sort of encountered a similar issue today and I have managed to solve it with help from multiple sources from the internet. I learned that the issue is that some class files were compiled using Java X while others were compiled using Java Y.
|
Thanks I'll give this a try |
Because the library classes that you're using at the moment are decompiled by Java 11, not different verison of Java. |
I didn't think Java 9 had an installation candidate because that's what class file 53 is, it's java 9 |
Keep getting this error everytime I run
./mvnw clean install
, the error arises with bothJava 1.8.0_252
andJava 11.0.3
forKali Linux
, done some research and can't seem to find a solution.The text was updated successfully, but these errors were encountered: