Intégration du JSF BootsFaces (Web app - Java EE)
Bonjour,
je suis actuellement en train de développer une application web en Java EE avec un serveur Payara et comme JSF, j'utilise BootsFaces. Tout fonctionne presque parfaitement sauf pour BootsFaces.
Je m'explique, BootsFaces fonctionne très bien cependant à certains restart de l'application BootsFaces ne fonctionne plus (comme si celui-ci n'était pas chargé).
Pourtant je pense avoir ajouté tout ce qui est nécessaire pour le pom.xml et le fichier web.xml (+ référence pour le xHtml).
Je m'en remets donc à vous car je ne trouve pas du tout de solution sur Internet :/
Voici mon pom.xml :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>be.helha.aemt</groupId>
<artifactId>groupeA8</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<dependency>
<groupId>net.bootsfaces</groupId>
<artifactId>bootsfaces</artifactId>
<version>1.4.1</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project> |
Voici mon web.xml :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
| <?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
id="WebApp_ID" version="3.1">
<display-name>groupeA8</display-name>
<context-param>
<param-name>javax.faces.PROJECT_STAGE</param-name>
<param-value>Development</param-value>
</context-param>
<!--<context-param>
<param-name>javax.faces.PROJECT_STAGE</param-name>
<param-value>Production</param-value>
</context-param>-->
<welcome-file-list>
<welcome-file>Connexion.html</welcome-file>
<welcome-file>Connexion.xhtml</welcome-file>
</welcome-file-list>
<context-param>
<param-name>net.bootsfaces.blockUI</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>BootsFaces_USETHEME</param-name>
<param-value>true</param-value>
</context-param>
</web-app> |
J'ai également ajouté le .jar dans le build path du projet, je ne sais pas si ces fichiers suffiront donc n'hésitez pas à me demander certains fichiers.
Merci d'avance ;)