Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.0.X, 7.1.X, Master
-
7.1.x, 7.0.x
-
Committed
-
3
Description
Since http://java.sun.com/jsp/jstl/core is overriden in util-taglib/src/META-INF/c.tld we should add it as requirement in JspAnalyzerPlugin and not blacklist it because the taglib contains our own classes.
An example of what can happen is the following error that was appearing today in modules/apps/site-navigation/site-navigation-taglib/src/main/resources/META-INF/resources/init.jsp due to that only the following taglib was included: <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>:
Caused by: java.lang.NoClassDefFoundError: com/liferay/taglib/core/ChooseTag at org.apache.jsp.breadcrumb.page_jsp._jspService(page_jsp.java:84) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111) at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
To fix that, at least provisionally, the following commit was sent: https://github.com/brianchandotcom/liferay-portal/pull/65843/commits/8f2bb5ede2d260637b3ed325919925b4dad71c4d