idea报错:Error:java不支持发行版本5的解决方法

将以下对应配置一致即可。

File-->Project Structure

 File-->Settings

原文地址:https://www.cnblogs.com/nio-nio/p/13508347.html