启动 wildfly 10 服务器时出错

Getting error during start up of wildfly 10 server

我在启动 wildfly10 时出现以下错误

04:21:19,604 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.module.service."deployment.giftregistry.war".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.giftregistry.war".main: WFLYSRV0179: Failed to load module: deployment.giftregistry.war:main
        at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:91) [wildfly-server-2.2.0.Final.jar:2.2.0.Final]
        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.6.Final.jar:1.2.6.Final]
        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.6.Final.jar:1.2.6.Final]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_191]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_191]
        at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_191]
Caused by: org.jboss.modules.ModuleNotFoundException: config:main
        at org.jboss.modules.Module.addPaths(Module.java:1093) [jboss-modules.jar:1.5.2.Final]
        at org.jboss.modules.Module.link(Module.java:1449) [jboss-modules.jar:1.5.2.Final]
        at org.jboss.modules.Module.relinkIfNecessary(Module.java:1477) [jboss-modules.jar:1.5.2.Final]
        at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:225) [jboss-modules.jar:1.5.2.Final]
        at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:68) [wildfly-server-2.2.0.Final.jar:2.2.0.Final]
        ... 5 more

04:21:19,618 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "giftregistry.war")]) - failure description: {
    "WFLYCTL0080: Failed services" => {"jboss.module.service.\"deployment.giftregistry.war\".main" => "org.jboss.msc.service.StartException in service jboss.module.service.\"deployment.giftregistry.war\".main: WFLYSRV0179: Failed to load module: deployment.giftregistry.war:main
    Caused by: org.jboss.modules.ModuleNotFoundException: config:main"},
    "WFLYCTL0412: Required services that are not installed:" => ["jboss.module.service.\"deployment.giftregistry.war\".main"],
    "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined

基本上我是在 AWS 中迁移我的应用程序。我 运行 使用 docker.I 的 AWS EC2 实例上的此服务器已将我上一个服务器中存在的所有配置复制粘贴到此 wildfly10 配置中。

基本上它说缺少一个名为 config 的模块。

它应该与任何需要的资源一起在 [wildfly-root]/modules/config/main/module.xml 中定义。

我已经通过删除

解决了这个问题
<global-modules>
<module name="config" slot="main"/>
</global-modules>

来自我的 standalone.xml