[英]Intellij idea libgdx java lambda expressions are not supported in source
Answers at stackoverflow: 在stackoverflow上的答案:
1) Solution: "In File Menu → Project Structure → Project, change Project Language Level to 8.0 - Lambdas, type annotations etc" is not working. 1)解决方案:“在文件菜单→项目结构→项目中,将项目语言级别更改为8.0-Lambda,键入注释等”无效。
2) Also: "change source code Language Level also on the Source tab (Modules part)" not working too. 2)另外:“也在Source选项卡(Modules部分)上更改源代码Language Level”也无法正常工作。
Still the same error. 还是一样的错误。
After program restart 1) and 2) resets to default and its not 1.8. 程序重新启动后,1)和2)重置为默认值,而不是1.8。
3) "add something in POM file" - i have no any POM file. 3)“在POM文件中添加一些内容”-我没有任何POM文件。
So what should i do for using lambda in intellij idea? 那么我应该如何在intellij想法中使用lambda? Any ideas?
有任何想法吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.