gpt4 book ai didi

jboss - Wildfly:意外元素 '{urn:jboss:domain:4.2}server'

转载 作者:行者123 更新时间:2023-12-01 16:40:47 26 4
gpt4 key购买 nike

错误:

17:42:50,333 INFO  [org.jboss.as] (MSC service thread 1-6) WFLYSRV0049: WildFly Full 10.0.0.Final (WildFly Core 2.0.10.Final) starting
17:42:50,732 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:131)
at org.jboss.as.server.ServerService.boot(ServerService.java:356)
at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:299)
at java.lang.Thread.run(Thread.java:745)
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[2,1]
Message: Unexpected element '{urn:jboss:domain:4.2}server'
at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:108)
at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69)
at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:123)
... 3 more

17:42:50,733 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.

我从 standalone-full.xml 的开头收到此错误。我在文件上使用了 xml 验证器,它的语法是正确的。我认为这是我的环境问题。

最佳答案

server URN 的 4.2 版本适用于 WildFly 10.1.0.Final。看起来您使用的是 WildFly 10.0.0.Final。您需要使用 URN 4.0 版或将您的 WildFly 服务器升级到 10.1.0.Final。

关于jboss - Wildfly:意外元素 '{urn:jboss:domain:4.2}server',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44161521/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com