在用idea的时候出现的问题:
HTTP Status 500
错误信息
java idea报错has been compiled by a more recent version of the Java Runtime (class file version 56.0)
针对我的这次报错是由于idea中project的JDK的版本号跟model中jdk版本号不一致导致的,解决方法如下:
1:更改project和model的jdk设置:
java idea报错has been compiled by a more recent version of the Java Runtime (class file version 56.0)2:project的jdk信息:java idea报错has been compiled by a more recent version of the Java Runtime (class file version 56.0)
3:model的jdk信息:
java idea报错has been compiled by a more recent version of the Java Runtime (class file version 56.0)
把这两个改为一致就好了,一个电脑安装两个jdk的需要注意,这个现象。

相关文章: