idea 报错Java Runtime (class file version 61.0), this version of the Java Runtime only ...55.0

RootLogLevelConfigurator has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0

55对应jdk11,61对应jdk17.

查看自己pom文件中java的版本,将版本改为11

setting中版本改为11

project structure中版本改为11

pom中指定springboot版本号,3.1的版本需要jdk17。最后右侧maven 先clean 再install 

 

 

  • 3
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
Java Runtime Environment (JRE) refers to the software environment that includes the Java Virtual Machine (JVM) and the necessary libraries for running Java applications. A class file is a compiled form of Java source code, containing bytecode, which can be executed by the JVM. The "class file version 61.0" you mentioned does not seem to correspond to an official version number in the standard Java specification. Java class files have version numbers based on the Java platform version they were designed to work with, following a format like `major.minor`. For example, version 61.0 might be a custom or non-standard build, or it could indicate a modified version with custom extensions. Java standard class file formats are defined up to version 55.0, corresponding to Java SE 8. Here's what you need to know about the standard class file formats: - **Java SE 5**: Class file version 49.0 - **Java SE 6**: Class file version 50.0 - **Java SE 7**: Class file version 51.0 - **Java SE 8**: Class file version 52.0 If your JRE is limited to recognizing class files up to version 55.0, it means it may not support newer features introduced in later Java versions, and any application with a higher class file version may encounter issues or require a more recent JRE for proper execution. Here are some related questions: 1. What are the main differences between Java versions regarding class file format changes? 2. Can you run Java SE 9 or later applications on a JRE with version 55.0? 3. How can one ensure compatibility between older and newer class files when deploying applications?
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值