Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-88382

Since we override http://java.sun.com/jsp/jstl/core it should be added as a taglib requirement in JspAnalyzerPlugin

    Details

      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

        Attachments

          Activity

            People

            • Assignee:
              brian.chan Brian Chan
              Reporter:
              mariano.alvaro Mariano Álvaro
              Participants of an Issue:
              Recent user:
              Clarissa Velazquez
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                35 weeks, 6 days ago

                Packages

                Version Package
                7.0.0 DXP FP68
                7.0.X
                7.1.10 DXP FP6
                7.1.10.2 SP2
                7.1.3 CE GA4
                7.1.X
                Master