Extension spartacussampledata doesnt specify a path and no scanned extension was matching the name
我今天试图安装SAP Commerce Cloud 2011来配合SAP Spartacus 3.0使用时,我遇到如下错误消息:
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上看到关于这个错误消息的讨论:
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.
解决方案:
使用这个链接里最新的针对Spartacus 3.0使用的sampledata extension(而不是之前的sampledataaddon),问题即可解决:
如上图所示,下面的命令行顺利执行完毕。
./install.sh -r cx-for-spa
更多Jerry的原创文章,尽在:“汪子熙”:
总结
以上是生活随笔为你收集整理的Extension spartacussampledata doesnt specify a path and no scanned extension was matching the name的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: 高超音速飞机“观星者”:一小时飞越半个地
- 下一篇: BUG! exception in ph