springmvc+spring+mybatis集成問題彙總

最近在學springmvc+spring+mybatis集成,寫完代碼出現不少錯誤,記錄下來一遍以後查看
1、Error creating bean with name 'userAction': Injection of autowired dependencies failed; 
web.xml裏面配置文件路徑寫錯了
2、Invalid bound statement (not found): com.demo.dao.IUserOperation.select
mapper中的namespace與接口不相同
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章