Avatar of ICresswell
ICresswell asked on

CSM 4.1 - Flexconfig (Syntax errors detected - Failed to setup Velocity Engine to validate syntax)


I am trying to build a simple flexconfig to create route map statements that apply to NAT rules. When I try to create any basic flexconfig, I get the following error msg:

Syntax errors detected

Failed to setup Velocity Engine to validate syntax

Please correct errors.

I also tried cloning an existing example "IOS_enable_SSL", rename and recieved the same error.

What is the Velocity Engine and how can I verify that this component is working correctly?
RoutersSwitches / Hubs

Avatar of undefined
Last Comment

8/22/2022 - Mon
Steve Jennings

Is this a new install? Have you created any flexconfigs successfully?

I'd be on the phone with Cisco or opening a TAC case. I got a couple of odd errors trying to fix a flexconfig I created from scratch and it turn out I was missing part of the install.

The velocity template engine is an open source product from Apache. It's java based so you may simply have a java version problem. But if things have been working up to now, that probably isn't the issue.

Does the install log show any java warnings?

Good luck

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

It was an authentication issue on the server running CSM, I had to run th eprg as local admin.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy