1
resposta

Description Resource Path Location Type Document root element "persistence", must match DOCTYPE root "xml". persistence.xml /1750-jakartaee-projeto_inicial/src/main/resource/webapp/WEB-INF/classes/META-INF line 3 XML Problem

Boa noite! Estou a horas com problemas, preciso de ajuda por favor

Primeiro o arquivo persistence.xml esta com o erro abaixo. Tentei mil coisas. O segundo erro agendamento-email-0.0.1-SNAPSHOT.war is missing, coloquei mais abaixo.

Description Resource Path Location Type Document root element "persistence", must match DOCTYPE root "xml". persistence.xml /1750-jakartaee-projeto_inicial/src/main/resource/webapp/WEB-INF/classes/META-INF line 3 XML Problem

01:58:08,140 INFO [org.jboss.as.server] (ServerService Thread Pool -- 48) WFLYSRV0010: Deployed "agendamento-email-0.0.1-SNAPSHOT.war" (runtime-name : "agendamento-email-0.0.1-SNAPSHOT.war") 01:58:08,143 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report WFLYCTL0184: New missing/unsatisfied dependencies: service jboss.deployment.unit."agendamento-email-0.0.1-SNAPSHOT.war".WeldStartService (missing) dependents: [service jboss.deployment.unit."agendamento-email-0.0.1-SNAPSHOT.war".weld.weldClassIntrospector] service jboss.deployment.unit."agendamento-email-0.0.1-SNAPSHOT.war".beanmanager (missing) dependents: [service jboss.deployment.unit."agendamento-email-0.0.1-SNAPSHOT.war".weld.weldClassIntrospector, service jboss.deployment.unit."agendamento-email-0.0.1-SNAPSHOT.war".batch.artifact.factory] WFLYCTL0186: Services which failed to start: service jboss.deployment.unit."agendamento-email-0.0.1-SNAPSHOT.war".INSTALL: WFLYSRV0153: Failed to process phase INSTALL of deployment "agendamento-email-0.0.1-SNAPSHOT.war" WFLYCTL0448: 2 additional services are down due to their dependencies being missing or failed

1 resposta

Willian, você adicionou o persistence.xml no projeto? O segundo erro só mostra essa mensagem? "2 additional services are down due to their dependencies being missing or failed"

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software