郑剑峰 created VELOCITY-928:
----------------------------
Summary: Velocity parse error
Key: VELOCITY-928
URL: https://issues.apache.org/jira/browse/VELOCITY-928
Project: Velocity
Issue Type: Bug
Affects Versions: 2.1, 2.0
Reporter: 郑剑峰
hi
Velocity to evaluate the string template "$a.r(a" , it throw an exception
ERROR org.apache.velocity.parser - appmd: Encountered "<EOF>" at line 1, column
6.
Was expecting one of:
"[" ...
"," ...
")" ...
<WHITESPACE> ...
<NEWLINE> ...
"-" ...
"+" ...
"*" ...
"/" ...
"%" ...
<LOGICAL_AND> ...
<LOGICAL_OR> ...
<LOGICAL_LT> ...
<LOGICAL_LE> ...
<LOGICAL_GT> ...
<LOGICAL_GE> ...
<LOGICAL_EQUALS> ...
<LOGICAL_NOT_EQUALS> ...
change the template to "/$a.r(a" the error still,and "//$a.r(a" still
but i change the template to "$a.r(a)" it's ok
Looking forward to getting reply. Thanks.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]