1.解决办法如下:
进入:File->project
,修改如下两部分内容:
1.Modules块中Source部分的Language Level部分,修改为8-Lambda,type annotation etc.
2.Project中的project Language Level
:8-Lambda,type annotation etc.
Intellij中出现:Diamond types are not supported at this language level
猜你喜欢
转载自blog.csdn.net/liu16659/article/details/80230164
今日推荐
周排行