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

LDSでMavenを使ってテーマを作成する際に「Invalid Code Length Set」というエラーメッセージが表示される。

written-by

Laura Li

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

この記事は、LDSでMavenを使用してテーマを作成すると、エラーメッセージが表示される場合がある既知の問題を文書化したものです: 無効なコード長セット.

根本的な原因は、一部の依存関係が完全にダウンロードされていないことです。 この記事では、このエラーを解決するための回避策を説明します。

再現までの手順

  1. ファイル > 新規 > Liferay Module プロジェクトに移動します。
  2. プロジェクト名を入力し、 ビルドタイプ > Maven, プロジェクトテンプレート名 > テーマを選択します。
  3. 終了をクリックする

解像度

ステータス回避策あり

  1. .sha1 のファイルがないか、以下のディレクトリを確認してください。 これらのファイルに何らかの進行中のステータスがある場合、再度ダウンロードする必要があることを意味します。
    /home/username/.m2/repository/com/liferay/com.liferay.frontend.theme.unstyled/
  2. そのフォルダー内のコンテンツをすべて削除する。
  3. 開発者スタジオで、テーマを右クリックし、 Maven > Update Projectを選択します。 別の方法として、Terminator を使って mvn clean packageを実行することもできます。

追加情報

報告された不具合の詳細については、 IDE-3540 を参照してください。

did-this-article-resolve-your-issue

legacy-knowledge-base