My JSP project was running fine on Eclipse. However, I got the following error when I tried to add some value to database through my project data insert form.
org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.UnsupportedClassVersionError: com/mysql/jdbc/Driver : Unsupported major.minor version 51.0
After googling about the error, I found out that there was mismatch in the JVM version that is used to compile the class and the one used to run the class file.
In my case, the compiler compliance level for the Java compiler was set as openjdk 1.6. I changed it to 1.7 and the ...
Eclipse JSP: java.lang.UnsupportedClassVersionError: com/mysql/jdbc/Driver : Unsupported major.minor version 51.0 is a post from: Mukesh Chapagain's Blog