问题描述 解决方案1: File” >>>“Project Structure” 查看该project/module的java 版本 然后file-setting 。。。修改成与图2相同的版本 成功~ 相关文章: