mybatis报错,在tomcat下偶尔会报如下错,求指导

J2EE 码拜 7年前 (2017-05-01) 2717次浏览
Message:[public abstract org.springframework.web.servlet.ModelAndView org.springframework.web.servlet.mvc.Controller.handleRequest(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.lang.Exception:END!–]
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.builder.BuilderException: Error evaluating expression “”. Cause: org.apache.ibatis.ognl.ExpressionSyntaxException: Malformed OGNL expression:  [org.apache.ibatis.ognl.ParseException: Encountered “<EOF>” at line 1, column 0.
Was expecting one of:
“:” …
“not” …
“+” …
“-” …
“~” …
“!” …
“(” …
“true” …
“false” …
“null” …
“#this” …
“#root” …
“#” …
“[” …
“{” …
“@” …
“new” …
<IDENT> …
<DYNAMIC_SUBSCRIPT> …
“\”” …
“`” …
“”” …
<INT_LITERAL> …
<FLT_LITERAL> …
]
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:346)
at com.sun.proxy.$Proxy6.selectOne(Unknown Source)
at org.mybatis.spring.SqlSessionTemplate.selectOne(SqlSessionTemplate.java:154)
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:70)
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:38)
解决方案

CodeBye 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 , 转载请注明mybatis报错,在tomcat下偶尔会报如下错,求指导
喜欢 (0)
[1034331897@qq.com]
分享 (0)