在WildFly 10.1.0上部署lightblue时出错

时间:2016-09-20 05:20:06

标签: java mongodb deployment maven-plugin wildfly-10

What is LightBlue?

这是我得到的错误:

10:34:15,886 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.module.service."deployment.lightblue-rest-crud-basic-auth-2.10.0-SNAPSHOT.war".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.lightblue-rest-crud-basic-auth-2.10.0-SNAPSHOT.war".main: WFLYSRV0179: Failed to load module: deployment.lightblue-rest-crud-basic-auth-2.10.0-SNAPSHOT.war:main
    at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:91)
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: org.jboss.modules.ModuleNotFoundException: com.redhat.lightblue:main
    at org.jboss.modules.Module.addPaths(Module.java:1093)
    at org.jboss.modules.Module.link(Module.java:1449)
    at org.jboss.modules.Module.relinkIfNecessary(Module.java:1477)
    at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:225)
    at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:68)
    ... 5 more

10:34:15,888 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 64) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "lightblue-rest-crud-basic-auth-2.10.0-SNAPSHOT.war")]) - failure description: {
    "WFLYCTL0080: Failed services" => {"jboss.module.service.\"deployment.lightblue-rest-crud-basic-auth-2.10.0-SNAPSHOT.war\".main" => "org.jboss.msc.service.StartException in service jboss.module.service.\"deployment.lightblue-rest-crud-basic-auth-2.10.0-SNAPSHOT.war\".main: WFLYSRV0179: Failed to load module: deployment.lightblue-rest-crud-basic-auth-2.10.0-SNAPSHOT.war:main
    Caused by: org.jboss.modules.ModuleNotFoundException: com.redhat.lightblue:main"},
    "WFLYCTL0412: Required services that are not installed:" => ["jboss.module.service.\"deployment.lightblue-rest-crud-basic-auth-2.10.0-SNAPSHOT.war\".main"],
    "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined
}
10:34:15,888 ERROR [org.jboss.as.server] (management-handler-thread - 64) WFLYSRV0021: Deploy of deployment "lightblue-rest-crud-basic-auth-2.10.0-SNAPSHOT.war" was rolled back with the following failure message: 
{
    "WFLYCTL0080: Failed services" => {"jboss.module.service.\"deployment.lightblue-rest-crud-basic-auth-2.10.0-SNAPSHOT.war\".main" => "org.jboss.msc.service.StartException in service jboss.module.service.\"deployment.lightblue-rest-crud-basic-auth-2.10.0-SNAPSHOT.war\".main: WFLYSRV0179: Failed to load module: deployment.lightblue-rest-crud-basic-auth-2.10.0-SNAPSHOT.war:main
    Caused by: org.jboss.modules.ModuleNotFoundException: com.redhat.lightblue:main"},
    "WFLYCTL0412: Required services that are not installed:" => ["jboss.module.service.\"deployment.lightblue-rest-crud-basic-auth-2.10.0-SNAPSHOT.war\".main"],
    "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined
}

我找到了一些告诉我添加module.xml的解决方案,但我不知道确切地添加了哪些内容以及{蓝色module.xml的内容应该是什么。

我是野外蝇部署的新手,如果有人提出解决方案,那将会很有帮助。

任何与我有同样错误的人?

0 个答案:

没有答案