kungfu icon indicating copy to clipboard operation
kungfu copied to clipboard

找不到common/template.html,或是easyui模板当中的_crud.html

Open atfa opened this issue 7 years ago • 1 comments

小飞象: 试用了你的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" /> 我不能肯定是我的生成器执行过程出错了没有生成模板文件,还是这个模板文件您在其他地方有提供,请帮忙看看。谢谢。

atfa avatar Apr 03 '17 06:04 atfa

kungfu里面不涉及到页面模板处理,这个你需要根据jfinal的用法查错,根据报错 在你的web项目中找不到 /common/template.html

ticktack avatar Apr 05 '17 00:04 ticktack