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
文章来源地址https://www.toymoban.com/news/detail-720555.html文章来源:https://www.toymoban.com/news/detail-720555.html
到了这里,关于idea 报错Java Runtime (class file version 61.0), this version of the Java Runtime only ...55.0的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!