org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):

報錯信息以下java

org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.ld.rest.mapper.AdministrativePenaltyMapper.selectAdministrativePenaltyListapache

 這個的緣由呢是mapper.xml 和mapper.java 映射不到,看看名字映射是否對應。我這裏是mapper.xml 名字裏多個空格。服務器

這裏還有種狀況是我找解決辦法時發現的app

就是:http://blog.csdn.net/u013030276/article/details/50959349maven

mapper.xml文件沒有編譯到應用服務器,在maven編譯時並無把這個mapper.xml文件編譯到服務器中,因此就會報invalid bound statement (not found)錯誤!.net

解決辦法你點上面的鏈接就能夠了。rest

相關文章
相關標籤/搜索