Could not autowire. No beans of ‘***Controller‘ type found

問題描述:Could not autowire 解決方案: 1.檢查該實現類是否加上了@Service註解,確保加上 我的代碼是AccountController-----AccountService----AccountServiceImpl,因此找到AccountController對應的實現類爲AccountServiceImpl要確保該實現類加上了@Service註解。 2.編譯器問題 確
相關文章
相關標籤/搜索