Properties &引用;WFLYCTL0216:未找到管理资源“;

Properties &引用;WFLYCTL0216:未找到管理资源“;,properties,jboss,wildfly,system,Properties,Jboss,Wildfly,System,我通过systemProperties将dbUrl传递给带有wildfly15容器的maven cargo插件。但是得到以下错误。请帮助理解原因 [INFO] [talledLocalContainer] 17:52:06,880 ERROR [org.jboss.as.cli.CommandContext] (main) { [INFO] [talledLocalContainer] "outcome" => "failed", [INFO] [talledLocalContai

我通过systemProperties将dbUrl传递给带有wildfly15容器的maven cargo插件。但是得到以下错误。请帮助理解原因

[INFO] [talledLocalContainer] 17:52:06,880 ERROR [org.jboss.as.cli.CommandContext] (main) {
[INFO] [talledLocalContainer]     "outcome" => "failed",
[INFO] [talledLocalContainer]     "failure-description" => "WFLYCTL0216: Management resource '[(\"system-property\" => \"dbUrl\")]' not found",
[INFO] [talledLocalContainer]     "rolled-back" => true
[INFO] [talledLocalContainer] }
[INFO] [talledLocalContainer] {
[INFO] [talledLocalContainer]     "outcome" => "failed",
[INFO] [talledLocalContainer]     "failure-description" => "WFLYCTL0216: Management resource '[(\"system-property\" => \"dbUrl\")]' not found",
[INFO] [talledLocalContainer]     "rolled-back" => true
[INFO] [talledLocalContainer] }

您的配置是什么样子的?看起来您正在尝试读取配置中的系统属性,但它不存在。您好,是的,我已尝试将4个系统属性和2个系统属性注入standalone-full.xml,我已选中该文件,但在dbUrl中失败。对于所有系统属性,包括dbUrl(以及发送的内容),在调试模式下运行cargo时,会显示以下内容:try/system property=property1:add(value=x)catch#系统属性已定义,请替换它/system property=property1:remove/system property=property1:add(value=x)结束尝试尝试尝试/捕获失败了吗?你可以试试if/else。不尝试捕获不会失败。在配置standalone-full.xml文件时,它给出了上述错误。但仍然没有找到解决方案。您的配置是什么样的?看起来您正在尝试读取配置中的系统属性,但它不存在。您好,是的,我已尝试将4个系统属性和2个系统属性注入standalone-full.xml,我已选中该文件,但在dbUrl中失败。对于所有系统属性,包括dbUrl(以及发送的内容),在调试模式下运行cargo时,会显示以下内容:try/system property=property1:add(value=x)catch#系统属性已定义,请替换它/system property=property1:remove/system property=property1:add(value=x)结束尝试尝试尝试/捕获失败了吗?你可以试试if/else。不尝试捕获不会失败。在配置standalone-full.xml文件时,它给出了上述错误。但仍然没有找到解决办法。