【发布时间】:2017-04-03 14:40:01
【问题描述】:
我有这个文件结构;
然后在我的 beans xml 配置上我有;
但是当我启动服务器时,我得到一个FileNotFoundException /store/thestore.jks
我错过了什么?提前致谢。
【问题讨论】:
-
/在/store/thestore.jks中的前导?试试store/thestore.jks。我想不出别的了; IMO 看起来不错。 -
@ɐuıɥɔɐɯ 仍在获取;
java.io.FileNotFoundException: store\thestore.jks (The system cannot find the path specified) -
请包含堆栈跟踪。
-
能否将
thestore.jks复制到resources(/store之外)并将条目修改为<prop key="keyStorePath">classpath:thestore.jks</prop>?也可以试试file:thestore.jks。此外,就像@11thdimension 所说,用你的堆栈跟踪更新问题......
标签: java spring spring-boot restlet-2.0