Velocity engine fails to load template from a remote shared folder
- by performanceuser
I have following code
File temlateFile = new File( "D:/config/emails/MailBody.vm" );
temlateFile.exists();
VelocityEngine velocityEngine = new VelocityEngine();
velocityEngine.setProperty(RuntimeConstants.RESOURCE_LOADER, "file");
velocityEngine.setProperty("file.resource.loader.class", FileResourceLoader.class.getName());
…