Extension spartacussampledata doesnt specify a path and no scanned extension was matching the name
我今天試圖安裝SAP Commerce Cloud 2011來配合SAP Spartacus 3.0使用時(shí),我遇到如下錯(cuò)誤消息:
Caused by: de.hybris.bootstrap.config.BootstrapConfigException: Extension ‘spartacussampledata’ doesn’t specify a path and no scanned extension was matching the name. Please check file C:\Code\H2011\hybris\config\localextensions.xml.
在Github上看到關(guān)于這個(gè)錯(cuò)誤消息的討論:
https://github.com/SAP/spartacus/issues/10133
in that page, https://sap.github.io/spartacus-docs/pre-release-information/#adding-the-new-sample-data
the recipe or your local extensions file should point to spartacussampledata instead of *addon
renaming the folder also worked but it should be other way around
you can also remove the spartacussampledataaddon entry in your addons section, as the Spartacus sample data is now just an extension, not an addon
Our 3.0 docs will be updated accordingly, thanks for the feedback.
解決方案:
使用這個(gè)鏈接里最新的針對(duì)Spartacus 3.0使用的sampledata extension(而不是之前的sampledataaddon),問題即可解決:
如上圖所示,下面的命令行順利執(zhí)行完畢。
./install.sh -r cx-for-spa
更多Jerry的原創(chuàng)文章,盡在:“汪子熙”:
總結(jié)
以上是生活随笔為你收集整理的Extension spartacussampledata doesnt specify a path and no scanned extension was matching the name的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 高超音速飞机“观星者”:一小时飞越半个地
- 下一篇: 花椒白醋泡脚的功效与作用怎么用