org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'userMapper' is defined at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(Defaul

重点是这一句:No bean named 'userMapper' is defined at org.springframework.beans

 

意思就是找不到指定的bean,可能是指定的gebean("userMapper")里面的名字写错,或者是ApplicationContext.xml中的bean的id属性名写错

posted @ 2017-12-20 09:36  马帅领  阅读(653)  评论(0)    收藏  举报