this version of the Java Runtime only recognizes class file versions up to 52.0 (unable to load clas

时间:2024-03-13 16:54:02

翻译题目,可知是JDK版本问题,编译器的运行环境的JDL版本高于tomcat版本,降低JDK版本就行

ideaJDK降级

点击file—project structure—project settings–project—project language level
this version of the Java Runtime only recognizes class file versions up to 52.0 (unable to load clas
如图,8即为1.8,我将JDK修改成这个后完美解决问题。