最近在學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與接口不相同