Spring问题解决: Java Runtime (class file version 55.0), this version of the Java Runtim

- 日理万妓 2023-09-24 20:55 152阅读 0赞

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。

  1. 9 = Java 5
  2. 50 = Java 6
  3. 51 = Java 7
  4. 52 = Java 8
  5. 53 = Java 9
  6. 54 = Java 10
  7. 55 = Java 11
  8. 56 = Java 12
  9. 57 = Java 13
  10. 58 = Java 14
  11. 59 = Java 15
  12. 60 = Java 16
  13. 61 = Java 17
  14. 62 = Java 18
  15. 63 = Java 19

3.解决方法

在这里插入图片描述

发表评论

表情:
评论列表 (有 0 条评论,152人围观)

还没有评论,来说两句吧...

相关阅读