Legacy Knowledge Base
公開されました Jun. 30, 2025

レイアウト ページ テンプレートが重複しているため、インポートに失敗しました

Written By

Sivakumar Perumal

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • インポート プロセスは次のエラーで失敗しました
    2023-01-02 06:33:32.734 [liferay/backgroundtask-4] com.liferay.exportimport.internal.lifecycle.LoggerExportImportLifecycleListener.onStagedModelImportFailed(LoggerExportImportLifecycleListener.java:399) : Staged model {class: com.liferay.layout.page.template.model.LayoutPageTemplateEntry, groupId: 20121, uuid: 92b3c1a5-a499-051e-b7a7-2cb3821474e3} import failed com.liferay.layout.page.template.exception.LayoutPageTemplateEntryNameException$MustNotBeDuplicate: Duplicate layout page template for group 20121 with name BEE(x) at com.liferay.layout.page.template.service.impl.LayoutPageTemplateEntryLocalServiceImpl.validate(LayoutPageTemplateEntryLocalServiceImpl.java:1004) ~[?:?]
    at com.liferay.layout.page.template.service.impl.LayoutPageTemplateEntryLocalServiceImpl.addLayoutPageTemplateEntry(LayoutPageTemplateEntryLocalServiceImpl.java:133) ~[?:?]

Environment

  • Liferay DXP 7.4

解決策

  • 上記のエラーは、 の異なるページ テンプレートがサイト上で同じ名前を持っている場合に表示されます。
    サイト ID 20121、ページ テンプレート名 BEE。
  • テンプレートの名前を変更すると、正常にインポートできるようになります。
Did this article resolve your issue ?

Legacy Knowledge Base