on-internet
← Community

Apache Velocity - Resource not found exception

Stack Overflow ·

I have a requirement to generate some automated mails and so I wanted to use velocity for this task.I have copied all velocity jars to the lib folder and created a hello.vm template and placed in WEB-INF/templates folder.Below is exception I am getting, org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'hello.vm' userCount incremented to :1 at org.apache.velocity.runtime.resource.ResourceManagerImpl.loadResource(ResourceManagerImpl.java:474) at org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource(ResourceManagerImpl.java:352) at org.apache.velocit

Comments

Sign in or sign up to comment and upvote.

No comments yet.