キーストアを開こうとすると、この例外が発生します
java.io.FileNotFoundException: \resources\keystore (The system cannot find the path specified)
基本的に私のアプリケーションは
src/
client.java
server.java
resources/
keystore
truststore
そして、欠陥のあるコード:
System.setProperty("javax.net.ssl.keyStore","/resources/keystore");
System.setProperty("javax.net.ssl.keyStorePassword", "redacted");
./resources/keystore、resources/keystore、\\resources\\keystore なども試しました。
私のアプリケーションは実行可能な jar で動作するはずなので、絶対パスの手法は使用しないでください。