org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.gcflower.dao.UserDao] for bean with name 'userDao' defined in URL [file:/C:/apache-tomcat-7.0.86-windows-x64/apache-tomcat-7.0.86/webapps/myAcl/WEB-INF/classes/com/gcflower/config/applicationContext-system.xml]; nested exception is java.lang.ClassNotFoundException: com.gcflower.dao.UserDaoCaused by: java.lang.ClassNotFoundException: com.gcflower.dao.UserDao
1 回答
已采納

北七哦
TA貢獻(xiàn)33條經(jīng)驗(yàn) 獲得超4個(gè)贊
報(bào)錯(cuò)就是說類沒找到,檢察一下userDao的路徑 不是com.gcflower.dao.UserDao ,也有可能是大小寫或者拼寫問題導(dǎo)致對(duì)應(yīng)的類沒找到。
添加回答
舉報(bào)
0/150
提交
取消