Java 启动报错 JspTemplateAvailabilityProvider 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 52.0 有更新! 2025-08-05 Java 项目启动时提示以下错误,该错误大概意思为项目中被高版本的玩意儿编译了,需要最少 Java17 来启动,但是你现在的版本只有 1.8,所以启动不了,要么是你的 Java 版本不对,要么是你 SpringBoot 版本不对,SpringBoot 3.X 版本以上需要 Java17 来启动,从这两方面下手。 1. 首先我明确了本身的 Java 版本为 1.8,所以不存在是由于我 Java 版本高导致的,要是我本身就是 17,那么启动应该也不会报错,所以 Java 版本问题排除。 2. 其次开始排查 SpringBoot 版本,代码中全局搜索「spring-boot-starter-parent」,没搜到可能在父 pom 里,多找一下,最后发现版本是正常的。 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.3.2.RELEASE....