错误详情

ERROR ContextLoader:307 - Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [D:\06、itoobehind\bos19\out\artifacts\bos19_war_exploded\WEB-INF\classes\com\itheima\bos\dao\base\IBaseDao.class]; nested exception is java.lang.IllegalArgumentException

系统框架

struts2+spring3+hibernate3

整体来说项目的版本相对来比较老,但是没办法啊,这是维护项目就是这样啊!

运行环境

因为之前做的项目环境是IDEA 2017+jdk1.8.0.45+tomcat7.0.73

问题根源

经过排查,这个问题就是发生在环境的问题!

解决方案

jdk1.8只能支持spring4.0而spring3只能使用1.7及以下jdk进行配置。

所以降低jdk的版本就好!!