I am working on a Java Web Application in Eclipse. When checking my code with PMD, I get the following error:
An internal error occurred during: "ReviewCode".
com/infy/jcart/beans/Registration : Unsupported major.minor version 52.0
I have checked certain links on StackOverflow which talk about this error:
Peculiar Eclipse java.lang.UnsupportedClassVersionError, Unsupported major.minor version 52.0
PMD Eclipse Plugin error: An internal error occurred during: "ReviewCode"
So, I have come to know that this error happens because of some incompatible JRE/JDK versions. I have set the compiler version to 1.8 properly and added JRE 1.8 in Build Path also. But still the error persists while checking PMD.
Any help is appreciated.