无法在eclipse中运行iDempiere model.generator

时间:2017-02-02 08:20:37

标签: eclipse idempiere

我尝试在eclipse中运行Run Configurations中的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

1 个答案:

答案 0 :(得分:0)

听起来你在"运行配置"中添加了错误数量的参数。

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

如果你想用参数运行它,那么你需要添加四个参数: - 文件夹 - 包裹名字 - entityType - tableName

此致

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