Spring里报此错误org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'xxx' is defined
在配置文件里添加
<context:component-scan base-package="xxx"></context:component-scan>
Spring里报此错误org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'xxx' is defined
在配置文件里添加
<context:component-scan base-package="xxx"></context:component-scan>