无法在eclipse中运行iDempiere model.generator
我尝试从eclipse中的运行配置运行iDempiere(版本2.1和4.1)model.generator。显然,从教程视频中,我注意到应该有一个弹出窗口,您可以在其中注册要生成模型的表,但在我的例子中没有弹出窗口 以下是日志:无法在eclipse中运行iDempiere model.generator,eclipse,idempiere,Eclipse,Idempiere,我尝试从eclipse中的运行配置运行iDempiere(版本2.1和4.1)model.generator。显然,从教程视频中,我注意到应该有一个弹出窗口,您可以在其中注册要生成模型的表,但在我的例子中没有弹出窗口 以下是日志: Feb 02, 2017 3:45:40 PM org.compiere.util.Language getLanguage INFO: Adding Language=en, Country=PH, Locale=en_PH 15:45:40.596 Adempie
Feb 02, 2017 3:45:40 PM org.compiere.util.Language getLanguage
INFO: Adding Language=en, Country=PH, Locale=en_PH
15:45:40.596 Adempiere.startup: iDempiere(r) Release 4.1_2016-10-31 -Smart Suite ERP, CRM and SCM- (c) 1999-2016 iDempiere(r); Implementation: iDempiere - Supported by iDempiere community [1]
15:45:40.596 Ini.loadProperties: D:\SVN\SERVER\IDEMPIERE41\idempiere.properties #32 [1]
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [bundleresource://31.fwk2129221032:1/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [bundleresource://31.fwk2129221032:2/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.JDK14LoggerFactory]
15:45:41.155 DB.isBuildOK: Build DB=${env.ADEMPIERE_VERSION} 20080428-1232 [1]
15:45:41.155 DB.isBuildOK: Build Cl=4.1.0.qualifier [1]
15:45:41.175-----------> DB.isBuildOK: Build Version Error
The program assumes build version 4.1.0.qualifier, but database has build version ${env.ADEMPIERE_VERSION} 20080428-1232.
This is likely to cause hard to fix errors.
Please contact administrator. [1]
15:45:41.245 Language.getLanguage: Adding Language=en, Country=US, Locale=en_US [1]
15:45:41.255 Language.getLanguage: Adding Language=en, Country=US, Locale=en_US [1]
usage: ModelGenerator folder packageName entityType tableName
听起来您在“运行配置”中添加了错误数量的参数 当无参数调用程序时,将显示您期望的弹出窗口 如果要使用参数运行,则需要添加四个参数: -文件夹 -包装名称 -实体类型 -表名 问候, 卡洛斯·鲁伊斯
我想可能没有弹出窗口,而是应该在eclipse中使用VM参数。这部分是我遇到的问题:
用法:ModelGenerator folder packageName entityType tableName
根据@Pedro Rozo提到的我需要指定源文件夹。但即使这样,我还是得到了这个错误错误:无法找到或加载主类D:\SVN\SERVER\idempier41\org.test.editor\src
。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。VM参数:D:\SVN\SERVER\IDEMPIERE41\org.test.editor\src\org.test.models D test
Hi,这就是我对弹出窗口的想法,但是当我尝试删除参数时,没有弹出窗口,日志只说:用法:ModelGenerator文件夹packageName entityType tableName