Issue
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:
Environment
- DXP 7.1
- Liferay Faces
Resolution
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.
Additional Information
- 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
.