美文网首页
idea新建maven项目 报“Override is not

idea新建maven项目 报“Override is not

作者: congnie116 | 来源:发表于2017-09-18 16:25 被阅读0次

问题:

图1

解决方案:
1、File ——> Project Structure ——>[ 项目名称 ]——>Language level 修改成 “8 - Lambdas, type annotations etc.”

图2

此时报错:Error:java: Compilation failed: internal java compiler error
2、File ——> Settings ——> Build, Execution, Deployment ——> Compiler ——> Java Compiler
Target bytecode version 改为1.8

图3

相关文章

网友评论

      本文标题:idea新建maven项目 报“Override is not

      本文链接:https://www.haomeiwen.com/subject/urebsxtx.html