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 onJDK 8
runtimes for applications compiled
againstJDK 7
(with -target 1.7) or earlier. Note that it won’t
supportJDK 8
’s bytecode format (-target 1.8, as needed for lambdas);
please upgrade toSpring Framework 4.0
for that purpose.
Follow this link to the source article.