https://cursos.alura.com.br/course/ejb/task/4837
Estava usando o wildfly 8, mas vi que no post "https://cursos.alura.com.br/forum/topico-erro-ao-subir-o-servidor-87245", um aluno conseguiu usar o wildfly 16 e parti para usar ele tambem.
Não sei o que de repente faltou, mas estou com o erro abaixo:
10:01:02,382 INFO [org.jboss.as] (MSC service thread 1-2) WFLYSRV0049: WildFly Full 16.0.0.Final (WildFly Core 8.0.0.Final) starting
10:01:02,966 INFO [org.wildfly.security] (ServerService Thread Pool -- 26) ELY00001: WildFly Elytron version 1.8.0.Final
10:01:03,205 INFO [org.jboss.as.controller] (Controller Boot Thread) OPVDX002: falha ao formatar erro de validação: null
10:01:03,205 ERROR [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0055: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: WFLYCTL0085: Failed to parse configuration
at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:143)
at org.jboss.as.server.ServerService.boot(ServerService.java:385)
at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:374)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.xml.stream.XMLStreamException: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '1' (code 49) (expected a name start character)
at [row,col {unknown-source}]: [172,43]
at org.jboss.as.connector.subsystems.datasources.DataSourcesExtension$DataSourceSubsystemParser.readElement(DataSourcesExtension.java:650)
at org.jboss.as.connector.subsystems.datasources.DataSourcesExtension$DataSourceSubsystemParser.readElement(DataSourcesExtension.java:204)
at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:122)
at org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:69)
at org.jboss.as.server.parsing.StandaloneXml_10.parseServerProfile(StandaloneXml_10.java:607)
at org.jboss.as.server.parsing.StandaloneXml_10.readServerElement(StandaloneXml_10.java:240)
at org.jboss.as.server.parsing.StandaloneXml_10.readElement(StandaloneXml_10.java:137)
at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:126)
at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:52)
at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:122)
at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:76)
at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:126)
... 3 more
Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '1' (code 49) (expected a name start character)
at [row,col {unknown-source}]: [172,43]
at com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:653)
at com.ctc.wstx.sr.StreamScanner.parseFullName(StreamScanner.java:1933)
at com.ctc.wstx.sr.StreamScanner.parseEntityName(StreamScanner.java:2058)
at com.ctc.wstx.sr.StreamScanner.fullyResolveEntity(StreamScanner.java:1525)
at com.ctc.wstx.sr.BasicStreamReader.readTextSecondary(BasicStreamReader.java:4783)
at com.ctc.wstx.sr.BasicStreamReader.readCoalescedText(BasicStreamReader.java:4226)
at com.ctc.wstx.sr.BasicStreamReader.getElementText(BasicStreamReader.java:699)
at org.jboss.staxmapper.XMLExtendedStreamReaderImpl.getElementText(XMLExtendedStreamReaderImpl.java:144)
at org.jboss.as.connector.util.AbstractParser.rawElementText(AbstractParser.java:61)
at org.jboss.as.connector.subsystems.datasources.DsParser.parseDsSecurity_5_0(DsParser.java:1401)
at org.jboss.as.connector.subsystems.datasources.DsParser.parseDataSource_4_0(DsParser.java:2010)
at org.jboss.as.connector.subsystems.datasources.DsParser.parseDataSources(DsParser.java:229)
at org.jboss.as.connector.subsystems.datasources.DsParser.parse(DsParser.java:189)
at org.jboss.as.connector.subsystems.datasources.DataSourcesExtension$DataSourceSubsystemParser.readElement(DataSourcesExtension.java:643)
... 14 more
10:01:03,205 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.
10:01:03,205 INFO [org.jboss.as] (MSC service thread 1-7) WFLYSRV0050: WildFly Full 16.0.0.Final (WildFly Core 8.0.0.Final) stopped in 4ms
Já tentei várias configurações seguindo esse post e tentando subir o servidor na sequencia e tambem o post: "https://cursos.alura.com.br/forum/topico-montar-o-ambiente-para-utilizar-o-mysql-84273" e tambem o post "https://cursos.alura.com.br/forum/topico-wflyctl0085-failed-to-parse-configuration-23607" e o erro fica quase sempre o mesmo.
Alguém tem uma luz? De repente, se o Matheus Sousa pudesse disponibilizar o projeto dele com o wildfly 16, já que ele informou que conseguiu no post "https://cursos.alura.com.br/forum/topico-erro-ao-subir-o-servidor-87245". Obrigado.