1
resposta

404 - Not Found

Bom, ao inicializar meu servidor aparece isso na parte final do meu console:

18:03:15,080 INFO [org.jboss.weld.Version] (MSC service thread 1-5) WELD-000900: 3.1.4 (Final) 18:03:15,086 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 78) WFLYCLINF0002: Started client-mappings cache from ejb container 18:03:15,237 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "agendamento-email-0.0.1-SNAPSHOT.war")]) - failure description: { "WFLYCTL0412: Required services that are not installed:" => ["jboss.naming.context.java.jboss.java:AgendamentoEmailDS"], "WFLYCTL0180: Services with missing/unavailable dependencies" => [ "jboss.persistenceunit."agendamento-email-0.0.1-SNAPSHOT.war#AgendamentoEmailDS" is missing [jboss.naming.context.java.jboss.java:AgendamentoEmailDS]", "jboss.persistenceunit."agendamento-email-0.0.1-SNAPSHOT.war#AgendamentoEmailDS".FIRST_PHASE is missing [jboss.naming.context.java.jboss.java:AgendamentoEmailDS]" ] } 18:03:15,303 INFO [org.jboss.as.server] (ServerService Thread Pool -- 45) WFLYSRV0010: Deployed "agendamento-email-0.0.1-SNAPSHOT.war" (runtime-name : "agendamento-email-0.0.1-SNAPSHOT.war") 18:03:15,304 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report WFLYCTL0184: New missing/unsatisfied dependencies: service jboss.naming.context.java.jboss.java:AgendamentoEmailDS (missing) dependents: [service jboss.persistenceunit."agendamento-email-0.0.1-SNAPSHOT.war#AgendamentoEmailDS", service jboss.persistenceunit."agendamento-email-0.0.1-SNAPSHOT.war#AgendamentoEmailDS".FIRST_PHASE] WFLYCTL0448: 23 additional services are down due to their dependencies being missing or failed 18:03:15,362 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server 18:03:15,365 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 20.0.0.Final (WildFly Core 12.0.1.Final) started (with errors) in 3676ms - Started 456 of 699 services (27 services failed or missing dependencies, 376 services are lazy, passive or on-demand) 18:03:15,368 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management 18:03:15,368 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990.

No meu navegador ao rodar o http://localhost:8080/agendamento-email-0.0.1-SNAPSHOT/emails aparece a mensagem 404 - Not Found

1 resposta

Gabriel, boa noite. Aparentemente é algum problema com o datasource, você consegue fazer o teste de conexão através da console do wildfly?