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玩玩只是這句報錯,然後調了好久,沒出來就去幹其他事了,週一找組裏大神調了一下,加了這句: 這句是
相關文章
相關標籤/搜索