SpringBoot 找不到Dao注解和sqlSessionFactory’ or ‘sqlSessionTemplate’ are required,

SpringBoot简单搭建报错:Field userDao in com.example.service.UserService required a bean of type ‘com.example.dao.IUserDao’ that could not be found 刚开始写了一个demo玩玩只是这句报错,然后调了好久,没出来就去干其他事了,周一找组里大神调了一下,加了这句: 这句是
相关文章
相关标签/搜索