I have a very "annoying" problem, yesterday I had a JSF
system working perfectly with all pages opening correctly. When I log into the system today the page looks like this:
NocomponentofPrimefaces
orJSF
isworkinganymore.ThisisthethirdtimethishappensandsofarIdonotunderstandwhy.TheonlysolutionIfoundwastostartanewprojectandcopyeverythingtoit,butIwouldliketoknowwhatthatproblemmightbe.
Web.xml:
<?xmlversion="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="3.0">
<display-name>Inventario</display-name>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>
*.xhtml</url-pattern>
</servlet-mapping>
<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>bootstrap</param-value>
</context-param>
</web-app>
I'm using Maven
in my project, and I have all the right dependencies.