Check the project’s properties and verify that Java Compiler -> Compiler compliance level is set to 1.6 (or a later version).
It worked for me… i am using eclipse 2021…. and ..
Check the project’s properties and verify that Java Compiler -> Compiler compliance level is set to 1.6 (or a later version).
It worked for me… i am using eclipse 2021…. and ..