Can not resolve symbol java.util.stream.Collectors

Can not resolve symbol for import statement java.util.stream.Collectors;
This is in GlobalExceptionHandler.java file.

Hi @Pradeepkumar_Reddy_64466,

Which JDK version do you have currently installed ?

You can follow these java official instructions to confirm your currently installed version.
Don’t forget, you should be running JDK 8 or higher.

N.

I’m using Jdk 1.8.0.92.
Still i’m getting can’t resolve symbol for import statement java.util.stream.Collectors