|
求助!在运行JeecgOneToMainUtil.java时报如下错误:
09:12:49.281 [main] INFO org.jeecgframework.codegenerate.generate.a.a - ----templatePath-----------------/src/main/resources/jeecg/code-template-online
09:12:49.281 [main] DEBUG org.jeecgframework.codegenerate.generate.impl.a.a - --------projectPath--------F:\demo
java.lang.NullPointerException
at org.jeecgframework.codegenerate.generate.a.a.b(CreateFileConfig.java:55)
at org.jeecgframework.codegenerate.generate.impl.a.a.a(BaseCodeGenerate.java:37)
at org.jeecgframework.codegenerate.generate.impl.CodeGenerateOneToMany.generateCodeFile(CodeGenerateOneToMany.java:177)
at org.jeecg.JeecgOneToMainUtil.main(JeecgOneToMainUtil.java:67)
jeecg_config.properties配置如下:
#code_generate_project_path
#project_path=E:\\eclipse2018-workspace\\jeecg-boot
project_path=F:\\demo
#project_path=F:\\demo
#bussi_package[User defined]
bussi_package=org.jeecg.modules.demo
#default code path
#source_root_package=src
#webroot_package=WebRoot
#maven code path
source_root_package=src.main.java
webroot_package=src.main.webapp
#ftl resource url
#templatepath=/jeecg/code-template
templatepath=/src/main/resources/jeecg/code-template-online
system_encoding=utf-8
#db Table id [User defined]
db_table_id=id
#db convert flag[true/false]
db_filed_convert=true
#page Search Field num [User defined]
page_search_filed_num=1
#page_filter_fields
page_filter_fields=create_time,create_by,update_time,update_by
|
|