In tomcat environment, when templates lives in jars caching problem arises. When application redeployed by tomcat, URL connection still caches old template. If we change like this:
freemarker-2.3.14-sources.jar!/freemarker/cache/URLTemplateSource.java:73
URLTemplateSource(URL url) throws IOException {
this.url = url;
this.conn = url.openConnection();
if...