您的位置: 首页 > 文章 > org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.chen.mapper.Use org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.chen.mapper.Use 分类: 文章 • 2024-10-22 08:57:46 org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.chen.mapper.UserMapper.queryUserByName 这个错误是因为找不到mapper的xml文件 可能是在application.properties文件中的 mybatis.mapper-locations属性配置的路径与项目中的文件路径不一致导致的 需要将这两个地方的路径对应起来