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