1

I'm trying to run a Eclipse (Mars.2) project, but when I run it, it throws an exception:

java.lang.UnsupportedClassVersionError: org/openqa/selenium/NoSuchElementException : Unsupported major.minor version 52.0

I researched and I think it's because JDK/JRE version, but I did not find how can I solve this. Can anyone help?

Naman
  • 21,685
  • 24
  • 196
  • 332

1 Answers1

1

This error happens if you have java version mismatch, change your Java run time in eclipse's project build path.

Refer to this link Setting JDK in Eclipse

Community
  • 1
  • 1
Sanjit Kumar Mishra
  • 1,143
  • 13
  • 32