关于Invalid bound statement (not found)异常可能发生的原因

xiaoxiao2025-06-01  36

上午调环境时候一直报 org.apache.ibatis.binding.BindingException: Invalid bound statement (not found), 正常我们是去检查命名空间和方法名是否正确, 但是我当时没有更改过xml,所以显然不是这个问题。 查了半天发现,调环境时的mybatis的配置xml中的SqlSessionFactoryBean的mapperLocations标签的内容变了,导致sqlSession加载不到xml。

转载请注明原文地址: https://www.6miu.com/read-5031061.html

最新回复(0)