第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問題,去搜搜看,總會(huì)有你想問的

是否可以在 XInclude 屬性 href 中使用 Java 系統(tǒng)屬性變量?

是否可以在 XInclude 屬性 href 中使用 Java 系統(tǒng)屬性變量?

九州編程 2023-10-13 09:46:34
我正在使用 ActiveMQ Artemis splitbroker.xml 功能并包括 xml 文件。我正在嘗試使用 Java 系統(tǒng)屬性作為 xml 文件路徑。但它正在拋出錯(cuò)誤。這是我正在嘗試的路線。<xi:include href="${amq.conf.broker.config}/broker-security-settings.xml"/>我已經(jīng)單獨(dú)定義了-Damq.conf.broker.config=/var/amq/...。出現(xiàn)以下錯(cuò)誤[Fatal Error] :116:82: An include with href '${amq.conf.broker.config}/broker-security-settings.xml'failed, and no fallback element was found.org.xml.sax.SAXParseException; lineNumber: 116; columnNumber: 82; An include with href '${amq.conf.broker.config}/broker-security-settings.xml'failed, and no fallback element was found.    at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)    at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339)    at org.apache.activemq.artemis.utils.XMLUtil.readerToElement(XMLUtil.java:84)    at org.apache.activemq.artemis.utils.XMLUtil.streamToElement(XMLUtil.java:57)    at org.apache.activemq.artemis.utils.XMLUtil.urlToElement(XMLUtil.java:66)    at org.apache.activemq.artemis.core.config.FileDeploymentManager.readConfiguration(FileDeploymentManager.java:70)    at org.apache.activemq.artemis.integration.FileBroker.start(FileBroker.java:61)    at org.apache.activemq.artemis.cli.commands.Run.execute(Run.java:85)    at org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:150)    at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:98)    at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:125)    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)    at java.lang.reflect.Method.invoke(Method.java:498)    at org.apache.activemq.artemis.boot.Artemis.execute(Artemis.java:129)    at org.apache.activemq.artemis.boot.Artemis.main(Artemis.java:49)
查看完整描述

1 回答

?
繁星淼淼

TA貢獻(xiàn)1775條經(jīng)驗(yàn) 獲得超11個(gè)贊

ActiveMQ Artemis 目前不支持在元素中使用系統(tǒng)屬性href替換include。然而,這似乎是一個(gè)不錯(cuò)的功能,所以我為它打開了一個(gè)新的 JIRA并發(fā)送了PR。



查看完整回答
反對 回復(fù) 2023-10-13
  • 1 回答
  • 0 關(guān)注
  • 96 瀏覽

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號