Home > FAQs > I'm trying to run the example in the tutorial on Tomcat, and it can't instantiate the VelocityEngine |
(Thanks to Keith Lea!)
It turns out Velocity's Avalon logging system was trying to write to my Tomcat folder.
So that it's on file somewhere for other people, I will describe the solution:
velocity.properties
" and placed it in my WEB-INF/classes
folder.This stops Velocity from logging, and the example application now works.