Installation 缺少所需的扩展名:sapcoreaddon

Installation 缺少所需的扩展名:sapcoreaddon,installation,hybris,Installation,Hybris,我正在尝试运行安装配方sap_aom_som_b2b_b2c。但是,生成失败,出现以下错误 Buildfile: C:\Hybris6\Hybris\bin\platform\build.xml [echo] C:\Hybris6\Hybris\bin\platform/tomcat/bin BUILD FAILED C:\Hybris6\Hybris\bin\platform\build.xml:18: The following error occurred while executin

我正在尝试运行安装配方sap_aom_som_b2b_b2c。但是,生成失败,出现以下错误

Buildfile: C:\Hybris6\Hybris\bin\platform\build.xml
 [echo] C:\Hybris6\Hybris\bin\platform/tomcat/bin

BUILD FAILED
C:\Hybris6\Hybris\bin\platform\build.xml:18: The following error occurred while executing this line:
C:\Hybris6\Hybris\bin\platform\resources\ant\antmacros.xml:157: Missing required extensions: sapcoreaddon<-[yacceleratorstorefront],sappricingproductcarouseladdon<-[yacceleratorstorefront]. Please check your extension setup!
Buildfile:C:\Hybris6\Hybris\bin\platform\build.xml
[echo]C:\Hybris6\Hybris\bin\platform/tomcat/bin
构建失败
C:\Hybris6\Hybris\bin\platform\build.xml:18:执行此行时发生以下错误:

C:\Hybris6\Hybris\bin\platform\resources\ant\antmacros.xml:157:缺少必需的扩展名:sapcoreaddon您是否遵循了这些步骤

  • 设置hybris平台 ./install.sh-r sap_aom_som_b2b_b2c

  • 初始化hybris平台 ./install.sh-r sap\u aom\u som\u b2b\u b2c初始化

  • 启动hybris服务器和数据集线器 ./install.sh-r sap\u aom\u som\u b2b\u b2c启动

  • 停止hybris服务器和数据集线器 ./install.sh-r sap_aom_som_b2b_b2c停止

  • 如果是,那么构建在哪一步失败

    如果查看/hybris/installer/recipes/sap_aom_som_b2b_b2c/build.gradle中的gradle文件,您将在
    extensions
    configuration中看到所有需要的扩展。因此,localextensions.xml绝对不应该为空

    根据您使用的hybris版本,您可能会对配方有问题(我在6.1版的datahub中遇到过这种情况)。因此,您要么修复gradle文件,要么查看它以手动执行所有步骤。 基本上,您必须在local.properties中设置配置,在localextensions.xml中添加扩展,并运行所有ant命令(在您的情况下,启动datahub服务器)


    还要注意,配方必须仅在干净的hybris平台上使用。(从存档中提取后的版本)。

    您检查了扩展设置了吗?看起来是这样的:您在上查看了如何配置扩展了吗?是的,它几乎说我可以在不指定任何扩展名的情况下将文件保留为空,并为任何配方运行安装程序。在这样做的同时,我收到了上述错误,谢谢您的回复。在第一步中,我遇到了一个错误。所以现在我尝试从localextension.xml中删除错误的节点,并重复了第一步。它工作得很好。@user3739866是的,在运行配方安装程序之前,您不应该有现有的配置。