You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "swati agarwal (Jira)" <ji...@apache.org> on 2019/10/24 09:53:00 UTC

[jira] [Created] (VELOCITY-920) ParseErrorException with square brackets without leading space

swati agarwal created VELOCITY-920:
--------------------------------------

             Summary: ParseErrorException with square brackets without leading space
                 Key: VELOCITY-920
                 URL: https://issues.apache.org/jira/browse/VELOCITY-920
             Project: Velocity
          Issue Type: Bug
    Affects Versions: 2.1
            Reporter: swati agarwal
         Attachments: HelloWorld.java, helloworld.vm

I have upgraded from velocity 1.4 to velocity-engine-core 2.1.
I have also added the properties for backward compatibilty as mentioned in the page https://velocity.apache.org/engine/2.1/upgrading.html.
However, with the new jar I am getting parse exception with the getTemplate method for vm file having content '$methodName[]'. This was working with velocity 1.4



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org