I'm running the Lilypond Snippet Repository using Velocity since few
years. It's a simple installation. Everything worked fine until I
upgraded to the new VelocityViewServlet stuff. I did the "obvious"
updates to my servlets, and now there's no way Velocity will load my
templates. My properties say:
resource.loader = file, class
file.resource.loader.class =
org.apache.velocity.runtime.resource.loader.FileResourceLoader
file.resource.loader.path = /WEB-INF/templates
file.resource.loader.cache = false
file.resource.loader.modificationCheckInterval = 2
class.resource.loader.class =
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
input.encoding=UTF-8
output.encoding=UTF-8
default.contentType=text/html; charset=UTF-8
as they always had. From the log, Velocity sees the path:
INFO [/LSR] - Velocity [debug] Do unicode
file recognition: false
INFO [/LSR] - Velocity [info]
FileResourceLoader : adding path '/usr/share/tomcat5/webapps/LSR/WEB-
INF/templates'
But then, there's no way to load a single template:
org.apache.velocity.exception.ResourceNotFoundException: Unable to
find resource 'query.vm'
Something must have dramatically changed in a backward incompatible
way, and, sincerely, after two hours of struggling I haven't the
faintest idea of what's happening. Everything has always worked
without a glitch.
I googled for migration problems between the old and the new setup,
but I found nothing--not even a simple explanation about how to migrate.
Please, please help me.
Ciao,
seba
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]