legacy-knowledge-base
公開されました Sep. 10, 2025

JARデプロイ後に「unsatisfied references」エラーが発生する

written-by

Anushka Tiwari

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

問題

サービスビルダープロジェクトを作成し、Jarsファイルをデプロイした後、GOGOシェルにunsatisfied references''が表示されます。

再現手順

  • サーバーを起動します。
  • JARファイルをデプロイする。
  • コントロールパネル > 設定 > Gogo shell に移動します。
  • lb」と入力すると、モジュールがアクティブな状態であることがわかる。
  • 次に次のコマンドを入力する:ds:unsatisfied
    期待される動作
    観察された動作:以下の出力を得る:
出力
バンドル {id: 1034, name: com.test.unpaid.bond.web, version: 1.0.0}
宣言サービス {id:4345, name: com.test.unpaid.bond.web.portlet.TestUnpaidBondWebPortlet, unsatisfied references:
{name: _fooLocalService, target: null}

環境

  • Liferay DXP 7.1

解像度

  • ヘッダー Liferay-Spring-Context:META-INF/spring バンドル JAR ファイルに存在せず、欠落しています。
  • ヘッダーをヘッダーを追加する。ファイルに追加し、モジュールを再度ビルドする。
  • そして、作成したJARファイルをデプロイする。 エラーは表示されない。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base