Context initialization failed
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [dxm.com.dao.UserDaoImp] for bean with name 'userDao' defined in class path resource [applicationContext.xml]; nested exception is java.lang.ClassNotFoundException: dxm.com.dao.UserDaoImp
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1269)
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [dxm.com.dao.UserDaoImp] for bean with name 'userDao' defined in class path resource [applicationContext.xml]; nested exception is java.lang.ClassNotFoundException: dxm.com.dao.UserDaoImp
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1269)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:578)
spring 配置文件中 dxm.com.dao.UserDaoImp 地址没写对,应该是dxm.com.dao.imp.UserDaoImp