点击 保持一致:
这样就可以了。
新建maven工程运行出现Intellij idea 报错:Error : java 不支持发行版本5
原文:https://www.cnblogs.com/cstdio1/p/12232991.html