Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-3239

NoClassDefFoundError on several Liferay Faces Demos after restart Liferay

Details

    Description

      After deploying the RichFaces Applicant Portlet the Portlet works as expected (see attached screenshot).

       

      When I restart Liferay, the Portlet comes with the following exception:

       

      java.lang.NoClassDefFoundError: com/liferay/taglib/util/HtmlTopTag
              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)
              at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:134)
              at com.liferay.faces.bridge.application.internal.ViewHandlerCompatImpl.renderView(ViewHandlerCompatImpl.java:95)
              at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337)
              at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120)
              at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)

       

      The same error occured on several JSF-Demos like JSF Applicant Portlet or JSF Showcase.

       

      Attachments

        Issue Links

          Activity

            People

              ui_faces UI Faces
              HLohuis@itout.de Hans Lohuis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package