Diamond types are not supported at language level '5‘

 

At that time, I asked the next great God, they asked me if I was jdk problem. Because jdk8 only support such a prism wording. At that time his jdk version is jdk8, then wonder, finally, I found out that tune into 5.0 Language level of

5.0 does not support code 6.0 / 7.0 features, so I set it to 7, problem solved.

Reprinted from: http://www.bubuko.com/infodetail-3036271.html

 

Guess you like

Origin www.cnblogs.com/guohu/p/11369363.html