
Let's understand the cause and solution of Unsupported major.minor version 52.0 Error in little more detail. The Main reason of this error is that during compilation, you have used a higher version of JDK but during deployment, you have deployed into a lower version of JDK or JRE. You can get " unsupported major.minor version 52.0" while running a Java program explicitly using java command or running a Java Applet in browser or running a Java program from command line but compiled in Eclipse or any other build tool like Maven or ANT. If you have multiple JRE installed make sure that the latest one comes first in PATH environment variable.
#Eclipse for mac java 6 code
If upgrading to Java 8 is not an option then make sure you use Java compiler's cross compilation feature and compile source code for lower Java version by using -target option of javac command.
#Eclipse for mac java 6 install
Simplest way to fix this error is install the latest Java release i.e.

It provides declarative support for caching, validation, transactions and formatting.Unsupported major.minor version 52.0 comes when you are trying to run a class compiled using Java 1.8 compiler into a lower JRE version e.g. It provides powerful abstraction to JavaEE specifications such as JMS, JDBC, JPA and JTA. The Dependency Injection feature of Spring Framework and it support to various frameworks makes the easy development of JavaEE application. The Spring Framework doesn't force the programmer to inherit any class or implement any interface. Spring framework is lightweight because of its POJO implementation. The EJB or Struts application require server to run the application but Spring framework doesn't require server. The Dependency Injection makes easier to test the application. The Spring applications are loosely coupled because of dependency injection. You need to write the code of executing query only. Let's take the example of JdbcTemplate, you don't need to write the code for exception handling, creating connection, creating statement, committing transaction, closing connection etc. It hides the basic steps of these technologies. So there is no need to write too much code. Spring framework provides templates for JDBC, Hibernate, JPA etc. They are as follows: 1) Predefined Templates

There are many advantages of Spring Framework.

This spring tutorial provides in-depth concepts of Spring Framework with simplified examples.
