Type Exception Report
Message /galeria-de-fotos.xhtml @11,48 <ui:decorate template="/template/site-2.xhtml"> Invalid path : /template/site-2.xhtml
Description The server encountered an unexpected condition that prevented it from fulfilling the request.
Exception
javax.servlet.ServletException: /galeria-de-fotos.xhtml @11,48 <ui:decorate template="/template/site-2.xhtml"> Invalid path : /template/site-2.xhtml javax.faces.webapp.FacesServlet.service(FacesServlet.java:671) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
Root Cause
javax.faces.view.facelets.TagAttributeException: /galeria-de-fotos.xhtml @11,48 <ui:decorate template="/template/site-2.xhtml"> Invalid path : /template/site-2.xhtml com.sun.faces.facelets.tag.ui.DecorateHandler.apply(DecorateHandler.java:158) javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95) com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93) com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87) com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:161) com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:1006) com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:99) com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219) javax.faces.webapp.FacesServlet.service(FacesServlet.java:659) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
Note The full stack trace of the root cause is available in the server logs.