org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'MonitorServiceImpl'

SSH框架的web開發中,報了這麼一個錯誤。 根據提示:No bean named 'MonitorServiceImpl' is defined        就是說你的這個bean沒有定義,spring找不到 解決思路: 1.是否正確使用註解將bean放入Spring容器中,如@Service 2.判斷bean所在的路徑是否在Spring的掃描範圍內 3.bean的默認第一個字母小寫(這也是我
相關文章
相關標籤/搜索