Getting the above error in the runner class. Please check the screenprint below: -
When I am trying to change the JDK to 1.10, it is getting changed automatically to 1.5 JRE automatically after Maven Update. I am not sure that this error is interrelated with the JRE version or not. Can anyone help me to resolve this error?