I can correct load keyStore file, right get privateKey and publicKey ,but use licenseManager.store((content), new File(licensePath)), program throw FileNotFoundException,
so debug to discovery the throw exception code is AbstractKeyStoreParam.getgetStream()function
public InputStream getStream() throws IOException { InputStream var1 = this.clazz.getResourceAsStream(this.resource); if (null == var1) { throw new FileNotFoundException(this.resource); } else { return var1; } }
I can correct load keyStore file, right get privateKey and publicKey ,but use licenseManager.store((content), new File(licensePath)), program throw FileNotFoundException, so debug to discovery the throw exception code is AbstractKeyStoreParam.getgetStream()function
public InputStream getStream() throws IOException { InputStream var1 = this.clazz.getResourceAsStream(this.resource); if (null == var1) { throw new FileNotFoundException(this.resource); } else { return var1; } }