第 3 楼
得分:1
把这个文件applicationContext.xml放到/WEB-INF目录下就OK
----------------解决方案--------------------------------------------------------
java.lang.IllegalArgumentException: Cannot convert value of type [com.test.impl.dao.Test2DAO] to required type [com.test.dao.ItestDao] for property 'testDao'
似乎还是找到IOC的配置文件了,只是配置中类型与你要获得的bean的类型不匹配。检查一下。
----------------解决方案--------------------------------------------------------
----------------解决方案--------------------------------------------------------
java.lang.IllegalArgumentException: Cannot convert value of type [com.test.impl.dao.Test2DAO] to required type [com.test.dao.ItestDao] for property 'testDao'
似乎还是找到IOC的配置文件了,只是配置中类型与你要获得的bean的类型不匹配。检查一下。
----------------解决方案--------------------------------------------------------