심각: Servlet.service() for servlet [action] 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 '오류 구문' Cause: org.apache.ibatis.ognl.ExpressionSyntaxException: Malformed OGNL expression '오류 구문' [org.apache.ibatis.ognl.ParseException: Encountered "<EOF>" at line 1, column 123.
Was expecting one of:
"," ...
"=" ...
"?" ...
"||" ...
"or" ...
"&&" ...
"and" ...
"|" ...
"bor" ...
"^" ...
"xor" ...
"&" ...
"band" ...
"==" ...
"eq" ...
"!=" ...
"neq" ...
"<" ...
"lt" ...
">" ...
"gt" ...
"<=" ...
"lte" ...
">=" ...
"gte" ...
"in" ...
"not" ...
"<<" ...
"shl" ...
">>" ...
"shr" ...
">>>" ...
"ushr" ...
"+" ...
"-" ...
"*" ...
"/" ...
"%" ...
"instanceof" ...
"." ...
"(" ...
")" ...
"[" ...
<DYNAMIC_SUBSCRIPT> ...
]] with root cause
위와 같은 경우 괄호 쌍이 맞지 않아 오류가 난 케이스였다.
해결 방법
1) 괄호 쌍 확인
2) 연산자 및 구문 확인 (표현식에서의 올바른 논리연산자, 비교연산자 사용)
3) 정리된 표현식 작성 (표현식 간소화)
'오류 모음' 카테고리의 다른 글
| [Spring] Path with "WEB-INF" or "META-INF" (0) | 2024.11.16 |
|---|---|
| [TypeScript] Expected 0 arguments, but got 1. (TS2554) (0) | 2024.11.06 |
| [Springboot] SpringSecurity 무한 redirect (1) | 2024.09.18 |
| [Eclipse] Several ports (8005, 8080, 8009) required by Tomcat version Server at localhost are already in use. (0) | 2024.08.11 |
| Illegal use of ... as its direct parent (0) | 2024.05.29 |