I'm currently working on a JSF Project and I decided to use Primefaces. But as I switched my Work-Enviroment, the Browser keeps throwing multiple "ReferenceError: PrimeFaces is not defined".
Here's the beginning of the add.xhtml page im currently working on (I hope it's enough):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:r="http://primefaces.org/ui"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:f="http://xmlns.jcp.org/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
>
<h:head>
<h:outputStylesheet library="css" name="search.css" />
<h:outputStylesheet library="css" name="template.css" />
<h:outputStylesheet library="css" name="add.css" />
</h:head>
<ui:composition template="/WEB-INF/templates/template.xhtml">
<ui:define name="content">
<h:form id="form">
<p>
<r:outputLabel styleclass="label" value="Datum:"></r:outputLabel>
</p>
<p>
<r:calendar id="in_datum" value="#{addController.date}"> </r:calendar>
</p>