gpt4 book ai didi

java - WAIT: JS 相对文件路径

转载 作者:行者123 更新时间:2023-11-28 21:57:15 24 4
gpt4 key购买 nike

使用 Netbeans、Maven、Metro 和 Tomcat 创建 Web 服务服务器时,如何在 wsit 配置中使用相对文件路径?

例如,我在 wsit 文件中有这一行:

<sc:KeyStore wspp:visibility="private" location="SERVER_KeyStore.jks" type="JKS" storepass="*****" alias="*****"/>

我应该将 jks 文件放在哪里以匹配该位置?

最佳答案

终于,我找到了答案。

when providing the keystore/trustore name and location in the wsit-*.xml files, please note that they'll be loaded as resources scanning the META-INF directory in your package (WEB-INF/classes/META-INF when using war packages on JBoss Application Server 5).

来自 JBossWS - Stack Metro User Guide

在我的例子中,这意味着将 META-INF 文件夹添加到我的资源文件夹并添加 <include>**/*.jks</include>到 pom 文件。

关于java - WAIT: JS 相对文件路径,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4993972/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com