ナレッジベース
公開されました Jun. 30, 2025

Unable to Import Site Template LAR

written-by

Justin Mann

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.

Issue

Importing a LAR file exported from a Site Template through Publishing > Export fails when imported to another environment with the following error message:

The LAR file could not be imported because it requires page templates or site templates that could not be found. Please import the following templates manually: Site Template: ST1(id)

Environment

  • Liferay DXP 7.4 U41

Resolution

To successfully import the LAR file export of the individual Site Template, you must first export and import the entire Site Templates listing into the target environment. Follow these steps:

  1. Navigate to the source environment and export the complete Site Templates listing.
  2. Import this listing into the target environment.
  3. Import the individual Site Template LAR file.

Once you complete these steps, the Site Template successfully imports.

did-this-article-resolve-your-issue

ナレッジベース