欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 编程资源 > 编程问答 >内容正文

编程问答

Extension spartacussampledata doesnt specify a path and no scanned extension was matching the name

发布时间:2023/12/19 编程问答 35 豆豆
生活随笔 收集整理的这篇文章主要介绍了 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的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。