无法创建新站点localhost:9001 / yacceleratorstorefront /?site = jewellery-us

时间:2016-07-04 11:03:07

标签: spring-mvc catalog hybris storefront

我正在尝试在hybris 5.3.0.0中创建自己的网站。我已将facet搜索,基本商店,目录和版本配置配置为与服装默认站点相同。 仍然像图像一样出现跟随错误。

任何人都可以建议如何在hybris中启动默认网站。

Error Screenshot

1 个答案:

答案 0 :(得分:0)

  1. 每当你点击URL - localhost:9001 / yacceleratorstorefront /?site = jewellery-us 请求将转到HomePageController,请求映射为@RequestMapping("/")

  2. storeCmsPageInModel(model, getContentPageForLabelOrId(null)); setUpMetaDataForContentPage(model, getContentPageForLabelOrId(null)); updatePageTitle(model, getContentPageForLabelOrId(null));

  3. 正如您在此处找到null,这意味着系统将在您的活动内容目录中看起来主页标记为TRUE的ContentPage。

    1. 请调试getContentPageForLabelOrId()方法。

    2. 您可能没有正确路径中的homePageJewellaryUS.jsp。

    3. 请分享您的impex以及您创建主页的位置,以便我可以准确地知道问题。