当前位置:网站首页>Unsupportedclassversionerror is reported when starting jar package. How to repair it
Unsupportedclassversionerror is reported when starting jar package. How to repair it
2022-06-30 08:39:00 【Attacking brother pea】
First, check the complete exception log
Exception in thread "main" java.lang.UnsupportedClassVersionError: run/halo/app/Application has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
Roughly speaking , This jar The package has been updated by the latest version of Java Runtime ( Class file version 55.0) compile , Current version Java Only up to... Are recognized at runtime 52.0 Class file version .
Popular speaking , It's that we use Java 11 Compiled our class , And try to use Java 8 Run it .
Solution , Use java11 Environment operation
Java Version number reference
45 = Java 1.1
46 = Java 1.2
47 = Java 1.3
48 = Java 1.4
49 = Java 5
50 = Java 6
51 = Java 7
52 = Java 8
53 = Java 9
54 = Java 10
55 = Java 11
56 = Java 12
57 = Java 13
边栏推荐
猜你喜欢
【NVMe2.0b 14】NVMe Admin Command Set
【NVMe2.0b 14-2】Create/Delete Queue
Flink SQL 自定义 Connector
我们如何拿到自己满意的薪资呢?这些套路还是需要掌握的
【NVMe2.0b 14-3】Doorbell Buffer Config command、Device Self-test command
基于Svelte3.x桌面端UI组件库Svelte UI
Deploy the cow like customer network project on the ECS
TiDB 6.0:让 TSO 更高效丨TiDB Book Rush
VIM from dislike to dependence (21) -- cross file search
Occasionally, Flink data is overstocked, resulting in checkpoint failure
随机推荐
[nvme2.0b 14-8] set features (Part 2)
vite項目require語法兼容問題解决require is not defined
Be careful of this hole in transmittable thread local
【NVMe2.0b 14】NVMe Admin Command Set
TiDB v6.0.0 (DMR) :缓存表初试丨TiDB Book Rush
VIM from dislike to dependence (21) -- cross file search
[untitled]
Wikimedia Foundation announces the first customers of its new commercial product "Wikimedia enterprise"
A troubleshooting of CPU bottom falling
Using typera+picgo to realize automatic uploading of markdown document pictures
启动jar包报错UnsupportedClassVersionError,如何修复
[untitled]
MIME类型大全
[nvme2.0b 14-7] set features (Part 1)
Mmcv expanding CUDA operator beginner level chapter
MIME type Encyclopedia
layer. Open processing method when the passed value is an array or the value is too long
[nvme2.0b 14 - 5] commande de téléchargement / commande du logiciel
【付费推广】常见问题合集,推荐榜单FAQ
2021-05-17