xmlhhj 发表于 2019-9-24 09:25:43

代码生成器报java.lang.NullPointerException错误,求助!

求助!在运行JeecgOneToMainUtil.java时报如下错误:
09:12:49.281 INFO org.jeecgframework.codegenerate.generate.a.a - ----templatePath-----------------/src/main/resources/jeecg/code-template-online
09:12:49.281 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
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
db_table_id=id

#db convert flag
db_filed_convert=true

#page Search Field num
page_search_filed_num=1
#page_filter_fields
page_filter_fields=create_time,create_by,update_time,update_by



页: [1]
查看完整版本: 代码生成器报java.lang.NullPointerException错误,求助!