Java 8 Spring compatibility

Basically Spring 3.x versions supports up to Java-7 only. If you want to migrate to Java-8 you should use Spring 4.x version.

However some spring release notes says that the Spring Framework 3.2.x
will support deployment on JDK 8 runtimes for applications compiled
against JDK 7 (with -target 1.7) or earlier. Note that it won’t
support JDK 8’s bytecode format (-target 1.8, as needed for lambdas);
please upgrade to Spring Framework 4.0 for that purpose.

Follow this link to the source article.

Leave a Comment