Unable to access velocity.properties file from jar file
I am having problem accessing the velocity.properties file within a jar. The snippet is as follows:
VelocityEngine ve = new VelocityEngine();
VelocityContext context = new VelocityContext();
the 'config' directory exists within the jar with the file inside, but I am getting:
java.io.FileNotFoundException: config\velocity.properties (The system cannot find the path specified)
Any help much appreciated!