0

我尝试从 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 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
4

1 回答 1

0

听起来您在“运行配置”中添加了错误数量的参数。

当程序在没有参数的情况下被调用时,会显示您期望的弹出窗口。

如果你想用参数运行它,那么你需要添加四个参数:-文件夹-包名-实体类型-表名

问候,

卡洛斯·鲁伊斯 http://wiki.idempiere.org/wiki/User:CarlosRuiz

于 2017-02-03T03:30:33.203 回答