class file has wrong version 55.0, should be 53.0
See original GitHub issueKeep getting this error everytime I run ./mvnw clean install
, the error arises with both Java 1.8.0_252
and Java 11.0.3
for Kali Linux
, done some research and can’t seem to find a solution.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/kali/uber-apk-signer/src/main/java/at/favre/tools/apksigner/ui/MultiKeystoreParser.java:[6,24] cannot access java.util.stream.Collectors
bad class file: /modules/java.base/java/util/stream/Collectors.class
class file has wrong version 55.0, should be 53.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13.585 s
[INFO] Finished at: 2021-11-09T04:54:32-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project uber-apk-signer: Compilation failure
[ERROR] /home/kali/uber-apk-signer/src/main/java/at/favre/tools/apksigner/ui/MultiKeystoreParser.java:[6,24] cannot access java.util.stream.Collectors
[ERROR] bad class file: /modules/java.base/java/util/stream/Collectors.class
[ERROR] class file has wrong version 55.0, should be 53.0
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Class file has wrong version 52.0, should be 50.0
It means your Java runtime version is 1.6, but your compiler version (javac) is 1.8. To simply solve ...
Read more >In Java, how do you fix the error 'class file has wrong version ...
In Java, how do you fix the error "class file has wrong version 55.0, should be 52.0"?
Read more >Unable to compile: class file has wrong version 55... - Neo4j
class file has wrong version 55.0, should be 52.0. Please remove or make sure it appears in the correct subdirectory of the classpath....
Read more >Class file has wrong version 55.0, should be 52.0 - Chief Delphi
I am having an issue with building my program. I get a bad class file error. Buildfile: C:\Users\Cecilia\workspace\InfiniteRecharge_2020\build.xml
Read more >Plugin build fails due to wrong class file version on 2020.3
I get the following error when trying to build my plugin: class file has wrong version 55.0, should be 52.0 I know this...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks I’ll give this a try
Any solution on this problem? I am running into same thing on my gradle project.