这个是路径设置错了吗?急急急!

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.UserDao

Caused by: java.lang.ClassNotFoundException: com.gcflower.dao.UserDao

https://img4.mukewang.com/5ae184e50001dc7907130475.jpg

陈郑
浏览 1044回答 1
1回答

北七哦

报错就是说类没找到,检察一下userDao的路径 不是com.gcflower.dao.UserDao ,也有可能是大小写或者拼写问题导致对应的类没找到。
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Java