报错解决:Error creating bean with name ‘userServiceImpl‘

首先:spring整合MyBatis是出现这个错误:

Exception in thread "main" org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userServiceImpl': Unsatisfied dependency expressed through field 'userMapper': Error creating bean with name 'sqlSessionFactory': Lookup method resolution failed

 原因:maven版本问题,jkd版本与spring和mybaits的版本不配置

 报错解决:

相关推荐

  1. easyexcel解决

    2024-01-06 06:44:05       59 阅读
  2. Mybatis解决

    2024-01-06 06:44:05       35 阅读
  3. okhttpclient.setsslsocketfactory 解决

    2024-01-06 06:44:05       60 阅读
  4. yum命令解决

    2024-01-06 06:44:05       67 阅读
  5. 解决Rust Cargo

    2024-01-06 06:44:05       30 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-01-06 06:44:05       98 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-01-06 06:44:05       106 阅读
  3. 在Django里面运行非项目文件

    2024-01-06 06:44:05       87 阅读
  4. Python语言-面向对象

    2024-01-06 06:44:05       96 阅读

热门阅读

  1. 简述游戏行业中的攻击种类和适用的服务器

    2024-01-06 06:44:05       53 阅读
  2. FastDFS

    FastDFS

    2024-01-06 06:44:05      55 阅读
  3. macOS通过外置驱动器备份数据

    2024-01-06 06:44:05       56 阅读
  4. vue布局居中

    2024-01-06 06:44:05       52 阅读
  5. K8S POD

    K8S POD

    2024-01-06 06:44:05      38 阅读