問題
After the upgrade of Liferay Faces (by updating the given versions in dependencies shown in the provided screenshots), the following error occurs logs:
javax.el.ELException: Function 'p:component' not found
Original dependency versions:
Upgraded dependency versions:
環境
- DXP 7.1
- Liferay Faces
解決
In brief: Upgrade from com.liferay.faces.util-3.2.0.jar
to com.liferay.faces.util-3.3.0.jar
In details: The reported error occurs when com.liferay.faces.util-3.2.0.jar
is being used instead of com.liferay.faces.util-3.3.0.jar
.
This is normally fine if com.liferay.faces.util
is explicitly included as a dependency in the pom.xml
descriptor, although since it is a transitive dependency of com.liferay.faces.bridge.impl
, normally it shall not be included.
追加情報
- For more info on released versions, please see https://liferay.dev/blogs/-/blogs/announcement-liferay-faces-maintenance-release-december-2019-.
-
On http://www.liferayfaces.org there are more examples for dependencies that omit the
com.liferay.faces.util dependency
.
会員限定記事
Liferay エンタープライズ サブスクリプションをお持ちのお客様は1500件を超えるベストプラクティス、トラブルシューティング、その他のソリューション記事を閲覧できます。ログインすると、記事全体をお読みいただけます。
ログイン