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

ClassNotFoundException: HtmlTopTag cannot be found after restart

    Details

      Description

      Steps to reproduce:
      1. deploy the attached portlet to an instance of portal master or ee FP24+
      2. add the portlet to a page
      3. render the portlet on the page
      4. restart the portal
      5. navigate back to the page

      Expected results:
      Portlet should render without error.

      Actual results:
      Portlet displayes error `jsf-applicant is temporarily unavailable.`
      The following error appears in the logs:

      22:01:56,632 ERROR [http-nio-8080-exec-7][render_portlet_jsp:131] null
      java.lang.ClassNotFoundException: com.liferay.taglib.util.HtmlTopTag cannot be found by com.liferay.faces.demo.jsf.applicant.portlet_4.1.0
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:444)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:357)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:349)
      	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      	at com.liferay.faces.bridge.ext.context.internal.HeadResponseWriterLiferayImpl.addResourceToHeadSection(HeadResponseWriterLiferayImpl.java:74)
      	at com.liferay.faces.bridge.ext.context.internal.HeadResponseWriterBase.endElement(HeadResponseWriterBase.java:134)
      	at com.sun.faces.renderkit.html_basic.StylesheetRenderer.encodeEnd(StylesheetRenderer.java:137)
      	at javax.faces.render.RendererWrapper.encodeEnd(RendererWrapper.java:100)
      	at com.liferay.faces.util.render.internal.ResourceRendererUtilImpl.encodeEnd(ResourceRendererUtilImpl.java:135)
      	at javax.faces.render.RendererWrapper.encodeEnd(RendererWrapper.java:100)
      	at com.liferay.faces.bridge.renderkit.html_basic.internal.ResourceRendererBridgeImpl.encodeEnd(ResourceRendererBridgeImpl.java:85)
      	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:920)
      	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)
      	at com.liferay.faces.bridge.renderkit.html_basic.internal.HeadRendererBridgeImpl.encodeChildren(HeadRendererBridgeImpl.java:212)
      	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:890)
      	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1856)
      	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1859)
      	at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:458)
      	at javax.faces.view.ViewDeclarationLanguageWrapper.renderView(ViewDeclarationLanguageWrapper.java:146)

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 41 weeks, 2 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP31
                  7.0.5 CE GA6
                  7.0.X
                  7.1.X
                  Master