Spring报错:Invalid bound statement (not found) 出现这种情况是因为Dao接口和Mapper.xml文件的映射关系不对,dao接口和mapper.xml文件必须同包同名,当然也可以不一样,但是需要在配置文件中设置,这个请自行百度。