mybatis org.apache.ibatis.binding.BindingException 异常
Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException: Parameter ‘shopName’ not found. Available parameters are [shopCondition, param1]

myabtis报错,绑定异常
我先去查看了mapper的xml配置文件 发现原来是前面的参数名称遗漏了
mybatis org.apache.ibatis.binding.BindingException 异常
然后明白了前面的异常的意思,是mybatis在绑定sql语句的参数时,没有找到这个参数
在接口中定义的方法签名 只有一个参数 shopCondition 你多给我一个shopName闹哪样

相关文章:

  • 2022-12-23
  • 2021-05-06
  • 2021-09-02
  • 2021-07-16
  • 2022-12-23
  • 2021-12-09
  • 2022-12-23
  • 2021-08-15
猜你喜欢
  • 2021-10-05
  • 2021-07-01
  • 2022-12-23
  • 2021-07-14
  • 2022-12-23
  • 2021-09-16
相关资源
相似解决方案