@JFinal 模板文件修改都搞定了。也setBaseModelTemplate了,_generator执行到generate()方法时,总是报错: Base Model Output Dir: D:\javaProjects\idea\dlhr/src/main/java/ltd/dinglan/hr/common/model/base Exception in thread "main" java.lang.IllegalArgumentException: File not found : "ltd/dinglan/hr/common/model/ext/base_model_template.jf" Disconnected from the target VM, address: '127.0.0.1:54674', transport: 'socket' at com.jfinal.template.source.ClassPathSource.(ClassPathSource.java:68) at com.jfinal.template.source.ClassPathSourceFactory.getSource(ClassPathSourceFactory.java:29) at com.jfinal.template.Engine.buildTemplateBySourceFactory(Engine.java:152) at com.jfinal.template.Engine.getTemplate(Engine.java:139) at com.jfinal.plugin.activerecord.generator.BaseModelGenerator.genBaseModelContent(BaseModelGenerator.java:112) at com.jfinal.plugin.activerecord.generator.BaseModelGenerator.generate(BaseModelGenerator.java:102) at com.jfinal.plugin.activerecord.generator.Generator.generate(Generator.java:268) at ltd.dinglan.hr.common.model._Generator.main(_Generator.java:92)