模版文件找不到:
09/20 01:59:59.621 ERROR[qtp703504298-17][]c.j.c.ActionHandler - /login com.jfinal.render.RenderException: java.lang.IllegalArgumentException: File not found : "view/login.html"
at com.jfinal.render.TemplateRender.render(TemplateRender.java:63)
at com.jfinal.core.ActionHandler.handle(ActionHandler.java:99)
at com.jfinal.core.JFinalFilter.doFilter(JFinalFilter.java:73)
我的配置是:
configEngine(Engine me) { me.setBaseTemplatePath(); me.setSourceFactory(ClassPathSourceFactory()); }
请问File not found能打印出绝对路径吗?现在一头雾水,不知道在哪个路径下才能找到模版文件:)
项目:JFinal