idea打开别人的项目报如下错误
OutputBuildAction 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
1.打开idea配置(重点配置这里)

image.png
2.gradle使用项目自带的

image.png
3.项目设置

image.png

image.png
然后就可以成功编译别人的项目了

image.png