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)
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)
解决方案