Forums de discussion

Why does liferay add librairies to my JSF portlet during deployment

Eric Soucy, modifié il y a 10 années.

Why does liferay add librairies to my JSF portlet during deployment

Junior Member Publications: 65 Date d'inscription: 21/01/14 Publications récentes
Hello,
It seems that during the deployment process, Liferay adds the following libraries to my portlet (in the tomcat/webapp/myapp/web-inf/lib)
commons-logging.jar
log4j-extras.jar
log4j.jar
util-bridges.jar
util-taglib.jar
util-java.jar

Is it documented somewhere why this is being done ?

Thank you
thumbnail
David H Nebinger, modifié il y a 10 années.

RE: Why does liferay add librairies to my JSF portlet during deployment

Liferay Legend Publications: 14915 Date d'inscription: 02/09/06 Publications récentes
These are default jars that all Liferay portlets require. You can add additional jar dependencies in liferay-plugin-package.properties file. It is best to use portal jars rather than your own versions so you don't run into class loader/versioning issues.