admin管理员组

文章数量:1531695

在测试代码的时候碰到

Unsatisfied dependency expressed through bean property 'sqlSessionFactory'

其实有个大哥写的很详细 具体可以参考

(亲测解决)Unsatisfied dependency expressed through bean property 'sqlSessionFactory'_TianXinCoord的博客-CSDN博客

如果说这位大哥的方法不管用 而且你的代码报错最后一段有

 这种情况你大概率跟我一样,配置文件application.yml或者properties出现问题了

 你只需要将配置文件改成下面的就行

mybatis-plus:
  mapper-locations=classpath:mapper/*Mapper:

本文标签: 报错expressedDependencyUnsatisfiedsqlSessionFactory