spring MVC3.x和JDK 8不兼容问题

来源:互联网 发布:mac安装python2.7 编辑:程序博客网 时间:2024/06/15 22:19
在eclipse中整合mybits和spring时使用mapper扫描器遇到如下异常
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [D:\Study\java\eclipse\springMyb\bin\org\xie\ssm\mapper\ItemsMapper.class]; nested exception is java.lang.IllegalArgumentException
查看代码发现没问题,将jdk换为1.7后就没问题了。后来百度才发现**spring MVC3.x和JDK 8不兼容**!
0 0
原创粉丝点击