Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Bug
-
2.0, 2.1
-
None
-
None
-
None
Description
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
and the "$a.r(a)" is a raw string not a expression
but i change the template to "$a.r(a)" it's ok
Looking forward to getting reply. Thanks.