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.

posted @ 2017-06-20 17:26  Mr.Ming2  阅读(481)  评论(0编辑  收藏  举报