JBOSS,如何添加依赖关系 javax.jmx?

JBOSS, How can i add the dependancy javax.jmx?

请帮忙:当我部署 my.war jboss 时抛出:

9:12:16,777 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service jboss.module.service."deployment.my.war".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.my.war".main: WFLYSRV0179: Failed to load module: deployment.my.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: javax.jmx: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

09:12:16,783 错误 [org.jboss.as.controller.management-操作] (控制器引导线程)​​WFLYCTL0013:操作 ("deploy") 失败 - 地址:([("deployment" => "my.war")]) - 故障描述:{ "WFLYCTL0080: Failed services" => {"jboss.module.service.\"部署。my.war\".main" => “org.jboss.msc.service.StartException 在役 jboss.module.service.\"deployment.my.war\".main: WFLYSRV0179: 失败 加载模块:deployment.my.war:main 由以下原因引起:org.jboss.modules.ModuleNotFoundException: javax.jmx:main"}, "WFLYCTL0412: Required services that are not installed:" => ["jboss.module.service.\"部署.my.war\".main"], "WFLYCTL0180: Services with missing/unavailable dependencies" => 未定义

您好,我刚刚从部署描述符中删除了依赖项。 我在那里添加它是一个错误。 谢谢