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

7.0 SP 12のパッチ適用時に「Couldn't find the portal-impl.jar」エラーを解消する方法。

written-by

Isaac Wilson

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

問題

  • 7.0 Service Pack 12のバンドルでパッチツールを使用しようとすると、次の構成エラーが発生します:
Problem with the configuration: Couldn't find the portal-impl.jar. Please check the configuration or delete the existing configuration and run auto-discovery again.

環境

  • DXP 7.0

解像度

  • [Liferay_Home]/patching-toolに移動し、テキストエディタで default.properties ファイルを開く。
  • デフォルトの内容を以下のように置き換えてください:
patching.mode=binary
war.path=../tomcat-8.0.53/webapps/ROOT/
global.lib.path=../tomcat-8.0.53/lib/ext/
liferay.home=../

追加情報

  • 別の方法として(エラーの注意書きにあるように)、 default.properties ファイルを削除し、 patching-tool auto-discovery コマンドを実行し、コンソールに出力された内容を含む新しい default.properties ファイルを作成することができます。
  • ファイルパスやディレクトリ名をデフォルトからカスタマイズしている場合は、 default.properties ファイルでそれらの値を適宜置き換えてください。
  • war.path および global.lib.path のプロパティが古いバージョンの Tomcat を参照しているため、この問題が発生します。バンドルには、Tomcat 8.0.32 の代わりに、Tomcat 8.0.53 が含まれているため、この問題が発生します。
  • DXP 7.0のパッチ適用に関する詳細は、以下の記事でご確認ください:
did-this-article-resolve-your-issue

legacy-knowledge-base