Bonjour à tous
Je me forme actuellement sur SpringMVC et je dois combiner avec JSF pour l'affichage.
J'ai déjà créé une petite appli SpringMVC Servlet JSP qui fonctionne
mais lorsque je passe à JSF j'ai un petit problème lors de l'affichage
Je vois dans les log de jetty que mon bean(Spring) cityService est chargé ainsi que le context jsf. Par contre pas de trace de mon managedBean DistanceBean dans les logs je vous laisse regarder les logs
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
|
INFO] [jetty:run]
[INFO] Configuring Jetty for project: webapp Maven Webapp
[INFO] Webapp source directory = /Users/benjaminnguyen/Downloads/Back/Workspaces/Eclipse/webapp/src/main/webapp
[INFO] Reload Mechanic: automatic
[INFO] Classes = /Users/benjaminnguyen/Downloads/Back/Workspaces/Eclipse/webapp/target/classes
2010-03-11 17:17:52.753:INFO::Logging to StdErrLog::DEBUG=false via org.eclipse.jetty.util.log.StdErrLog
[INFO] Context path = /
[INFO] Tmp directory = /Users/benjaminnguyen/Downloads/Back/Workspaces/Eclipse/webapp/target/tmp
[INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
[INFO] Web overrides = none
[INFO] web.xml file = file:/Users/benjaminnguyen/Downloads/Back/Workspaces/Eclipse/webapp/src/main/webapp/WEB-INF/web.xml
[INFO] Webapp directory = /Users/benjaminnguyen/Downloads/Back/Workspaces/Eclipse/webapp/src/main/webapp
[INFO] Starting jetty 7.0.1.v20091125 ...
2010-03-11 17:17:52.800:INFO::jetty-7.0.1.v20091125
2010-03-11 17:17:54.005:INFO::No Transaction manager found - if your webapp requires one, please configure one.
2010-03-11 17:17:54.105:INFO:/:Initializing Spring root WebApplicationContext
11 mars 2010 17:17:54 org.springframework.web.context.ContextLoader initWebApplicationContext
INFO: Root WebApplicationContext: initialization started
11 mars 2010 17:17:54 org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing Root WebApplicationContext: startup date [Thu Mar 11 17:17:54 CET 2010]; root of context hierarchy
11 mars 2010 17:17:54 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from ServletContext resource [/WEB-INF/webapps-servlet.xml]
11 mars 2010 17:17:54 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@45570f5c: defining beans [cityService]; root of factory hierarchy
11 mars 2010 17:17:54 org.springframework.web.context.ContextLoader initWebApplicationContext
INFO: Root WebApplicationContext: initialization completed in 318 ms
11 mars 2010 17:17:54 com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing Sun's JavaServer Faces implementation (1.2-NIGHTLY_20060227) for context '/'
11 mars 2010 17:17:54 com.sun.faces.config.ConfigureListener contextInitialized
INFO: Completed initializing Sun's JavaServer Faces implementation (1.2-NIGHTLY_20060227) for context '/'
2010-03-11 17:17:54.783:INFO::Started SelectChannelConnector@0.0.0.0:8080
[INFO] Started Jetty Server |
rien d'anormal je pense mais pas d'affichage
Je joins à mon post mon projet maven
Ce projet utilise jetty donc à la racine un petit
pour lancer le tout
l'url est :
http://localhost:8080/distancefaces.faces
Comme le résultat est une page blanche et pas d'erreurs dans les logs je pense qu'il y a un pb avec le context serveur et le context jsf mais je suis pas très à l'aise dessus
Ben
Partager