16-Nov-2021 22:50:39.436 严重 [http-nio-7999-exec-6] org.springframework.web.servlet.FrameworkServlet.initServletBean Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'UserServiceImpl' defined in class path resource [spring-service.xml]: Cannot resolve reference to bean 'UserMapper' while setting bean property 'UserMapper'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'UserMapper' available
2021年11月16日22:50:39.436严重 [http-nio-7999-exec-6]org.springframework.web.servlet.FrameworkServlet.initServletBean上下文初始化失败
org.springframework.beans.factory.BeanCreationException:创建名为“UserServiceImpl”的bean时出错,该名称在类路径资源[spring service.xml]中定义:设置bean属性“UserMapper”时无法解析对bean“UserMapper”的引用;嵌套异常是org.springframework.beans.factory.NoSuchBeanDefinitionException:没有名为“UserMapper”的bean可用