[英]org/springframework/boot/maven/BuildInfoMojo has been compiled by a more recent version of the Java Runtime
i'm getting this error when i mvn clean install my project:当我 mvn clean install 我的项目时出现此错误:
org/springframework/boot/maven/BuildInfoMojo 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
i checked the used java version, it's then right one.我检查了使用过的java版本,然后是正确的。
springBoot version: 2.1.2 java version: 1.8.0_121 springBoot 版本:2.1.2 java 版本:1.8.0_121
any solution please?请问有什么解决办法吗?
it was related to springBoot version, i updated my springBoot from 2.6.6 to 2.1 the fix is specifying the springBoot maven pluging version in the pom它与 springBoot 版本有关,我将我的 springBoot 从 2.6.6 更新到 2.1 修复在 pom 中指定了 springBoot maven 插件版本
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.