invalid bound statement (not found)

原因1.sqlSessionFactory

1.原始dao开发:sqlSessionFactory的configLocation

2.mapper开发:sqlSessionFactory的mapperLocations

原因2.namespace

xxxmapper.xml中mapper标签的namespace属性应该与xxxmapper.java的接口全路径一致

posted @ 2015-12-24 13:32  琅琊天  阅读(329)  评论(0)    收藏  举报