天天看點

關于SAP Commerce extension依賴的問題

一個關于extension依賴的問題。我在本地試圖build并啟動Hybris 6.7.0的Hybris installation. 通過recipe的方式安裝:

install.bat -r b2c_acc – 順利執行

install.bat -r b2c_acc initialize 遇到error:

關于SAP Commerce extension依賴的問題

編譯錯誤:REQUEST cannot be resolved or is not a field

出錯的extension: chinesepspwechatpayservices

引起編譯錯誤的單元測試代碼:

關于SAP Commerce extension依賴的問題

我搜尋源代碼發現,枚舉類PaymentTransactionType的REQUEST字段定義在extension alipay裡:

關于SAP Commerce extension依賴的問題

那麼,我的猜想是,chinesepspwechatpayservices這個extension,一定需要直接或者間接依賴到alipay extension, 我的猜想正确嗎?

根據我的搜尋,目前隻有chinacheckoutadd和alipaymentbackoffice這兩個extension在其extensioninfo.xml的requires-extension element裡聲明了對alipay的依賴:

然而現實是,chinesepspwechatpayservices的三個直接依賴裡并沒有alipay. 是以我猜測這三個依賴的extension,再分别檢查它們的依賴,最終總能發現alipay. 我的猜想正确嗎?

關于SAP Commerce extension依賴的問題
關于SAP Commerce extension依賴的問題
關于SAP Commerce extension依賴的問題

繼續閱讀