我们已经在 ubuntu 12.04 上测试了 OFBiz 10.04.05 版本一段时间,并希望与它一起进入测试版。所以我安装了 OFBiz 10.04.05,然后$ ant run-install-extseed
loaded
只运行 extseed 数据。
我正在尝试初始化应用程序。用于https://localhost:8443/ofbizsetup
初始设置
我可以填写前 2 个标签,Organization
然后Facility
. 但是,我对第三个选项卡有问题,Product Store
. 当我填写MyStore
for"Store Name"
字段时,我收到以下错误 -
发生以下错误:
Error: Error parsing entity xml file: org.ofbiz.entity.GenericEntityException:
Error while inserting: [GenericEntity:CarrierShipmentMethod][createdStamp,2013-06-21 11:13:26.664(java.sql.Timestamp)]
[createdTxStamp,2013-06-21 11:13:26.433(java.sql.Timestamp)]
[lastUpdatedStamp,2013-06-21 11:13:26.664(java.sql.Timestamp)]
[lastUpdatedTxStamp,2013-06-21 11:13:26.433(java.sql.Timestamp)]
[partyId,10000(java.lang.String)][roleTypeId,CARRIER(java.lang.String)]
[sequenceNumber,4(java.lang.Long)]
[shipmentMethodTypeId,LOCAL_DELIVERY(java.lang.String)]
(SQL Exception while executing the following:INSERT INTO CARRIER_SHIPMENT_METHOD
(SHIPMENT_METHOD_TYPE_ID, PARTY_ID, ROLE_TYPE_ID, SEQUENCE_NUMBER, CARRIER_SERVICE_CODE, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)
(Cannot add or update a child row: a foreign key constraint fails
(`ofbiz`.`CARRIER_SHIPMENT_METHOD`, CONSTRAINT `CARR_SHMETH_TYPE` FOREIGN KEY
(`SHIPMENT_METHOD_TYPE_ID`) REFERENCES `SHIPMENT_METHOD_TYPE`
(`SHIPMENT_METHOD_TYPE_ID`)))) calling service parseEntityXmlFile in importTempDataFile
我正在尝试创建一个商店!无论如何,我似乎无法继续。如果我这样做,$ ant run-install
那么它可以正常工作,但它也会加载大量的演示数据。我们希望在没有所有演示数据的情况下继续使用 OFBiz。
解决这个问题的最佳方法是什么?