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

翻译题目,可知是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_第1张图片
如图,8即为1.8,我将JDK修改成这个后完美解决问题。

你可能感兴趣的:(jdk,tomcat)