相关推荐recommended
Spring问题解决: Java Runtime (class file version 55.0), this version of the Java Runtim
作者:mmseoamin日期:2024-01-25

1.问题:

ch/qos/logback/classic/spi/LogbackServiceProvider 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

2.原因

这只是版本不匹配。已经使用 Java 版本 11 编译了您的代码,而您当前的 JRE 是版本 8。请尝试将您的 JR降级8或者升级到11。

9 = 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
58 = Java 14
59 = Java 15
60 = Java 16
61 = Java 17
62 = Java 18
63 = Java 19

3.解决方法

Spring问题解决: Java Runtime (class file version 55.0), this version of the Java Runtim,在这里插入图片描述,第1张