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

生成代码无后端代码,freemarker报错 #7643

Open
RoganLeon opened this issue Dec 24, 2024 · 0 comments
Open

生成代码无后端代码,freemarker报错 #7643

RoganLeon opened this issue Dec 24, 2024 · 0 comments

Comments

@RoganLeon
Copy link

版本号:

3.7.2

问题描述:

生成代码无后端代码只有前端代码,后端freemarker关键报错如下:

2024-12-24 20:04:09.942 [http-nio-8080-exec-1] ERROR org.jeecgframework.codegenerate.generate.impl.a.a:99 - java.lang.IllegalStateException: cannot process templateString:erp/onetomany/java/${bussiPackage}/${entityPackage}/vue/V${currentDate}1__menu_insert${entityName}.sql cause:freemarker.core.InvalidReferenceException: The following has evaluated to null or missing:
==> currentDate [in template "templateString..." at line 1, column 60]

同样的表,从git拉取的同一个分支,使用远程数据库与redis,除jeecg_config.properties内project_path改为自己本地项目地址外其他所有配置全部一致,其他同项目开发者可以正常生成;

出现问题的开发者所有表(包括自带示例表)全部无法生成

错误截图:
image image image image image

友情提示:

  • 未按格式要求发帖、描述过于简单的,会被直接删掉;
  • 描述问题请图文并茂,方便我们理解并快速定位问题;
  • 如果使用的不是master,请说明你使用的分支;
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

1 participant