Bonjour,
J'essaie de faire un composant JSF personnalisé mais quand je déploie mon projet sur Tomcat, il m'indique que la ressource taglibs.xml qui est déclarée dans Tomcat est introuvable.
Voici l’arborescence de mon projet (qui est un projet Maven) :
Et voici la description du fichier web.xml
Le message affiché
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14 <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" version="3.0"> <context-param> <param-name>contextConfigLocation</param-name> <param-value>classpath*:applicationContext.xml</param-value> </context-param> <context-param> <param-name>facelets.LIBRARIES</param-name> <param-value>taglibs.xml</param-value> </context-param> <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener> <listener>
Quelqu'un saurait-il m'indiquer comment résoudre ce problème ?Avertissement: JSF1025 : [/projet] le paramètre d’initialisation du contexte «facelets.LIBRARIES» est désapprouvé. Cette option sera toujours configurée, mais à l’avenir, utilisez «javax.faces.FACELETS_LIBRARIES».
déc. 27, 2014 9:16:37 PM com.sun.faces.config.WebConfiguration$DeferredParameterLoggingAction log
Infos: JSF1019 : [/ensa] option de configuration «javax.faces.FACELETS_LIBRARIES» réinitialisée sur «taglibs.xml»
Merci d'avance pour votre aide.
Partager