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

Liferay Faces のアップグレード後にエラーが発生する

written-by

József Géczi

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

問題

Liferay Faces のアップグレード後 (提供されたスクリーンショットに示されている依存関係で特定のバージョンを更新することにより)、次のエラーがログに記録されます。

javax.el.ELException: Function 'p:component' not found 

元の依存バージョン:

face_original.JPG

アップグレードされた依存関係のバージョン:

faces_upgraded.JPG

Environment

  • DXP 7.1
  • ライフレイの顔

解決策

簡単に:からのアップグレード com.liferay.faces.util-3.2.0.jar から com.liferay.faces.util-3.3.0.jar

詳細: 報告されたエラーは、 com.liferay.faces.util-3.3.0.jarの代わりに com.liferay.faces.util-3.2.0.jarが使用されている場合に発生します。
com.liferay.faces.util pom.xml 記述子に依存関係として明示的に含まれている場合、これは通常問題ありませんが、 com.liferay.faces の推移的な依存関係であるためです。 bridge.impl、通常は含まれません。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base