Spring3.2和jdk1.8之间的兼容性错误

来源:互联网 发布:java中间件框架 编辑:程序博客网 时间:2024/05/20 21:45

链接:http://blog.csdn.net/mj_ww/article/details/53215284

严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
java.lang.IllegalArgumentException
    at org.springframework.asm.ClassReader.<init>(Unknown Source)
    at org.springframework.asm.ClassReader.<init>(Unknown Source)
    at org.springframework.asm.ClassReader.<init>(Unknown Source)

解决:

        问题原因:Java 8 with spring 3.2.0, which doesn’t support it. 
       解决方法:使用spring4或者使用jdk7.

0 0
原创粉丝点击