From the exception message, I would infer that something is trying to open a "file:" URL as if it was a regular file pathname. That won't work.
If you have something that needs a file path you need to give it a real file path. Not a file:
URL.
If a URL refers to a resource inside a JAR or WAR file, there is no valid filesystem path for it. Stuff inside an archive file cannot be opened that way. Your operating system's "open file" syscalls require a pathname not a URL.
So what you are probably going to have to do is to extract the keystore file from the WAR and write it to a file in the file system. (It sounds like this has already been done.) Then you need to change the FTPS connection URL to use the pathname of that file file.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…