ssm异常Error creating bean with name 'userMapper'


Error creating bean with name ‘userMapper’ defined in file [C:/Users/86156/IdeaProjects/crm-project/crm/target/crm/WEB-INF/classes/com/enhaonode/crm/settings/mapper/UserMapper.class]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias ‘BaseResultMap’. Cause: java.lang.ClassNotFoundException: Cannot find class: BaseResultMap

异常原因:在写sql语句的时候复制错了id,不应该是BaseResultMap,折腾半天解决

原创文章,作者:,如若转载,请注明出处:https://blog.ytso.com/271709.html

(0)
上一篇 2022年7月6日
下一篇 2022年7月6日

相关推荐

发表回复

登录后才能评论