Spring3.2不支持jdk8

解决方案:

http://stackoverflow.com/questions/24128045/spring-context-initialization-failed-with-java-lang-illegalargumentexception-whi

http://stackoverflow.com/questions/22730801/java-se-spring-data-hibernate

摘记:

The exception you see is not very likely to be cause by invalid Spring configuration but your classpath setup. This feels like a version incompatibility regarding the ASM libraries and Java 8. The ASM version, Spring 3.2 depends on is known to be incompatible with Java 8.

Thus, if you want run your code with Java 8, you need to use a recent Spring 4.0 version.

原文地址:https://www.cnblogs.com/Dhouse/p/7055299.html