1
resposta

wildfly carrega sem erros, porém ao rodar a aplicação, dá o erro 404

http://localhost:8080/livraria-wildfly/login.xhtml
01:32:36,515 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 78) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service 'livraria-wildfly-0.0.1-SNAPSHOT.war#livraria'
01:32:36,544 INFO  [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 78) HHH000204: Processing PersistenceUnitInfo [
    name: livraria
    ...]
01:32:36,578 INFO  [org.jboss.as.ejb3.deployment] (MSC service thread 1-4) WFLYEJB0473: JNDI bindings for session bean named 'LivroDao' in deployment unit 'deployment "livraria-wildfly-0.0.1-SNAPSHOT.war"' are as follows:

    java:global/livraria-wildfly-0.0.1-SNAPSHOT/LivroDao!br.com.caelum.livraria.dao.LivroDao
    java:app/livraria-wildfly-0.0.1-SNAPSHOT/LivroDao!br.com.caelum.livraria.dao.LivroDao
    java:module/LivroDao!br.com.caelum.livraria.dao.LivroDao
    ejb:/livraria-wildfly-0.0.1-SNAPSHOT/LivroDao!br.com.caelum.livraria.dao.LivroDao
    java:global/livraria-wildfly-0.0.1-SNAPSHOT/LivroDao
    java:app/livraria-wildfly-0.0.1-SNAPSHOT/LivroDao
    java:module/LivroDao

01:32:36,578 INFO  [org.jboss.as.ejb3.deployment] (MSC service thread 1-4) WFLYEJB0473: JNDI bindings for session bean named 'AutorDao' in deployment unit 'deployment "livraria-wildfly-0.0.1-SNAPSHOT.war"' are as follows:

    java:global/livraria-wildfly-0.0.1-SNAPSHOT/AutorDao!br.com.caelum.livraria.dao.AutorDao
    java:app/livraria-wildfly-0.0.1-SNAPSHOT/AutorDao!br.com.caelum.livraria.dao.AutorDao
    java:module/AutorDao!br.com.caelum.livraria.dao.AutorDao
    ejb:/livraria-wildfly-0.0.1-SNAPSHOT/AutorDao!br.com.caelum.livraria.dao.AutorDao
    java:global/livraria-wildfly-0.0.1-SNAPSHOT/AutorDao
    java:app/livraria-wildfly-0.0.1-SNAPSHOT/AutorDao
    java:module/AutorDao

01:32:36,579 INFO  [org.jboss.as.ejb3.deployment] (MSC service thread 1-4) WFLYEJB0473: JNDI bindings for session bean named 'UsuarioDao' in deployment unit 'deployment "livraria-wildfly-0.0.1-SNAPSHOT.war"' are as follows:

    java:global/livraria-wildfly-0.0.1-SNAPSHOT/UsuarioDao!br.com.caelum.livraria.dao.UsuarioDao
    java:app/livraria-wildfly-0.0.1-SNAPSHOT/UsuarioDao!br.com.caelum.livraria.dao.UsuarioDao
    java:module/UsuarioDao!br.com.caelum.livraria.dao.UsuarioDao
    ejb:/livraria-wildfly-0.0.1-SNAPSHOT/UsuarioDao!br.com.caelum.livraria.dao.UsuarioDao
    java:global/livraria-wildfly-0.0.1-SNAPSHOT/UsuarioDao
    java:app/livraria-wildfly-0.0.1-SNAPSHOT/UsuarioDao
    java:module/UsuarioDao

01:32:36,740 INFO  [org.hibernate.Version] (ServerService Thread Pool -- 78) HHH000412: Hibernate Core {5.3.15.Final}
1 resposta

Oi Ângelo

Envia o log completo do wildfly para análise, por favor.

Fico no aguardado, abraço!