poxml出错

Error creating bean with name 'shiroFilter' defined in URL [file:/D:/work/decoration-web/target/decoration-web/WEB-INF/classes/applicationContext-shiro.xml]: Cannot resolve reference to bean 'securityManager' while setting bean property 'securityManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityManager' defined in URL [file:/D:/work/decoration-web/target/decoration-web/WEB-INF/classes/applicationContext-shiro.xml]: Cannot resolve reference to bean 'securityRealm' while setting bean property 'realms' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityRealm': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userServiceImpl': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userMapper' defined in file [D:workdecoration-webtargetdecoration-webWEB-INFclassescomeliteamsdecorationwebdaobaseUserMapper.class]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: java.lang.RuntimeException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Wrong namespace. Expected 'com.eliteams.decoration.web.dao.base.UserMapper' but found 'com.eliteams.decoration.web.dao.UserMapper'.
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userMapper' defined in file [D:workdecoration-webtargetdecoration-webWEB-INFclassescomeliteamsdecorationwebdaobaseUserMapper.class]: Invocation of init method failed; nested e

阅读 1.9k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题