sql语法错误?
来源:6-6 实现数据层mybatis自定义mapper与sql

js请靠边站
2022-08-18
老师您好,我这边进行测试的时候出现了问题 具体如下:
在报错(source is null for getProperty)的上一行给出了具体原因,全文如下
Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.builder.BuilderException: Error evaluating expression ‘paramMap.search != null and paramMap.search != ‘’’. Cause: org.apache.ibatis.ognl.OgnlException: source is null for getProperty(null, “search”)] with root cause
在执行search脚本的时候出现了问题,sql脚本如下
会不会是因为没法进入数据库进行搜索,还是因为其他原因?
写回答
1回答
-
风间影月
2022-08-18
复制我的看看,可能哪里写错一个字母也是有可能
072022-08-20
相似问题