Error reading included file giftcard2/brands/nobrand/vars.html The problematic instruction: ---------- ==> include "giftcard2/brands/"+brand+"/vars.html" [on line 43, column 1 in giftcard2/included/header.html] in include "giftcard2/included/header.html" [on line 2, column 1 in giftcard2/csr_template/login.html] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateException: Error reading included file giftcard2/brands/nobrand/vars.html at freemarker.core.Include.accept(Include.java:153) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.Environment.include(Environment.java:1375) at freemarker.core.Include.accept(Include.java:155) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.Environment.process(Environment.java:176) at freemarker.template.Template.process(Template.java:231) at com.praxell.template.FreeMarkerImpl.transformFile(FreeMarkerImpl.java:112) at com.praxell.payrollportal.Dispatcher.proccessTemplate(Dispatcher.java:904) at com.praxell.payrollportal.Dispatcher.doGet(Dispatcher.java:754) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:744) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:674) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:866) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) Caused by: java.io.FileNotFoundException: Template giftcard2/brands/nobrand/vars.html not found. at freemarker.template.Configuration.getTemplate(Configuration.java:441) at freemarker.core.Environment.getTemplateForInclusion(Environment.java:1357) at freemarker.core.Include.accept(Include.java:143) ... 31 more