英文:
IntellliJ doens't change java version
问题
我在我的IntelliJ项目中遇到了以下错误:
错误:(136, 14) java: 不支持lambda表达式在-source 1.5中
(使用-source 8或更高版本以启用lambda表达式)
我去偏好设置中将编译器从1.5更改为8。
这个错误仍然出现,我也尝试了重新启动和重建,但没有帮助。
还有其他建议吗?
英文:
I have the following error in my intelliJ project
Error:(136, 14) java: lambda expressions are not supported in -source 1.5
(use -source 8 or higher to enable lambda expressions)
I go to preferences and change the compiler from 1.5 to 8.
This error still appearing, I am trying also restart and rebuild, but it didn't help.
Any other suggestions?
专注分享java语言的经验与见解,让所有开发者获益!
评论