1.Servlet.service() for servlet [springmvc] in context with path [] threw exception [Request process

秒速五厘米 2023-10-09 12:23 97阅读 0赞
  1. 错误信息:
  2. 1.Servlet.service() for servlet [springmvc] in context with path [] threw exception [Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.chrome.mapper.UserMapper.register] with root cause
  3. 2.org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.chrome.mapper.UserMapper.register

解决办法:
错误解决方案之:1.接口名与Mybatis的映射文件名一定要一模一样。
dao接口与xml的文件名不一致,也就是mapper方法接口要与xml文件名一样

发表评论

表情:
评论列表 (有 0 条评论,97人围观)

还没有评论,来说两句吧...

相关阅读