legacy-knowledge-base
公開されました Jul. 2, 2025

yo liferay-theme:import failed with error."SDKにテーマがないようです"

written-by

Alfonso Crisci

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

learn-legacy-article-disclaimer-text

問題

  • タスク yo liferay-theme:import を実行して、6.2のテーマを7.1のTheme Generatorタイプのテーマに変換するためにインポートすると、ツールが表示されます。
    doesn't appear to be a theme in the SDK

環境への配慮

  • Liferay DXP 7.1

決議

  • Liferay Theme Generatorは、Plugins SDKによって構築されたテーマでのみ動作し、同じレイアウト構造にマッチします。 Mavenテーマなどでは動作しません。
  • ✅ テーマをインポートすることはまだ可能です:プロジェクトフォルダとファイル構造を古いplugins-sdkのようにすることができれば、インポートタスクは実行されます。
  • ✅ あるいは、テーマをTheme Generatorにインポートする前に、Liferay Developer Studioのコードアップグレードツールまたは Liferay Upgrade Planner を使用してテーマをアップグレードすることもできます。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base