lambda expressions are not supported at this language level
2017-08-01 14:19
603 查看
IDEA下报错:lambda expressions are not supported at this language level
解决:
1. File -> Project Structure -> Project -> Project Language Level 选择“8 Lamdas Type Annotations etc”
2. 如果没有改选项请先安装和配置JDK1.8
3. 如果为Maven项目,请将pom.xml中maven-compiler-plugin中<configuration>中的<source>和<target>配置为1.8
介绍Java SE 8提供的Lambda语法的较好文章:
http://zh.lucida.me/blog/java-8-lambdas-insideout-language-features/
http://lucida.me/blog/java-8-lambdas-insideout-library-features/
解决:
1. File -> Project Structure -> Project -> Project Language Level 选择“8 Lamdas Type Annotations etc”
2. 如果没有改选项请先安装和配置JDK1.8
3. 如果为Maven项目,请将pom.xml中maven-compiler-plugin中<configuration>中的<source>和<target>配置为1.8
介绍Java SE 8提供的Lambda语法的较好文章:
http://zh.lucida.me/blog/java-8-lambdas-insideout-language-features/
http://lucida.me/blog/java-8-lambdas-insideout-library-features/
相关文章推荐
- lambda expressions are not supported at this language level
- lambda expressions are not supported at this language level(需设置project language level)
- 【lamdba表达式】lambda expressions are not supported at this language level
- lambda expressions are not supported at this language level
- lambda expressions are not supported at this language level
- lambda expressions are not supported at this language level解决方法
- lambda expressions are not supported at this language level错误
- lambda expressions are not supported at this language level
- Lambda学习、配置以及lambda expressions are not supported at this language level
- Lambda expressions are not supported at this language level
- 解决lambda expressions are not supported at this language level的问题
- lambda expressions are not supported at this language level intellij
- Java “lambda expressions not supported at this language level”
- Lambda expressions are not supported at language level '1.6
- lambda expressions not supported at this language level
- lambda expression are not supported at this language level (Android Studio中使用lambda表达式)
- java "lambda expressions not supported at this language level"
- 【IntelliJ IDEA】lambda expressions are not supported at language level x.x
- lambda expressions not supported at this language level & Android Studio支持lambda,
- IDEA提示Generics are not supported at this language level解决方法