Aplicación Java Web usando JSF (Java Server Faces).
Aplicación Java Web usando JSF (Java Server Faces).
Clon
git clone https://github.com/humbertodias/java-jsf-demo.git
Entrar en la carpeta
cd java-jsf-demo
Correr
mvn jetty:run -Djetty.http.port=9999
INFO: JSF1048: PostConstruct/PreDestroy annotations present. ManagedBeans methods marked with these annotations will have said annotations processed.
[INFO] Started o.e.j.m.p.JettyWebAppContext@1d207fad{/,[file:///Users/humbertodias/git/java-jsf-demo/src/main/webapp/, jar
///Users/humbertodias/.m2/repository/com/sun/faces/jsf-impl/2.2.14/jsf-impl-2.2.14.jar!/META-INF/resources],AVAILABLE}{file:///Users/humbertodias/git/java-jsf-demo/src/main/webapp/}
[INFO] Started ServerConnector@4c5abfca{HTTP/1.1,[http/1.1]}{0.0.0.0:9999}
[INFO] Started @6330ms
[INFO] Started Jetty Server
[INFO] Using Non-Native Java sun.nio.fs.PollingWatchService
[WARNING] Quiet Time is too low for non-native WatchService [sun.nio.fs.PollingWatchService]: 1000 < 5000 ms (defaulting to 5000 ms)
Por último, en su navegador