Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
atfa opened this issue Apr 3, 2017 · 1 comment
Open

Comments

@atfa
Copy link

atfa commented Apr 3, 2017

小飞象:
试用了你的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 atfa changed the title 找到不到common/template.html 找不到common/template.html,或是easyui模板当中的_crud.html Apr 3, 2017
@ticktack
Copy link
Owner

ticktack commented Apr 5, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants