Open atfa opened 7 years ago
小飞象: 试用了你的kungfu,按照我的环境略作修改后,可以正常启动了,但是我在浏览器中访问后,服务器端报错:
[ERROR]-[Thread: http-8080-1]-[com.jfinal.core.ActionHandler.handle()]: /user/ com.jfinal.render.RenderException: com.jfinal.template.stat.ParseException: #include directive requires parentheses "()" Template: "/user/index.html". Line: 1
看了一下,这一行的内容是 <#include "/common/template.html" /> 我不能肯定是我的生成器执行过程出错了没有生成模板文件,还是这个模板文件您在其他地方有提供,请帮忙看看。谢谢。
<#include "/common/template.html" />
kungfu里面不涉及到页面模板处理,这个你需要根据jfinal的用法查错,根据报错 在你的web项目中找不到 /common/template.html
小飞象: 试用了你的kungfu,按照我的环境略作修改后,可以正常启动了,但是我在浏览器中访问后,服务器端报错:
看了一下,这一行的内容是
<#include "/common/template.html" />
我不能肯定是我的生成器执行过程出错了没有生成模板文件,还是这个模板文件您在其他地方有提供,请帮忙看看。谢谢。