URL
サンプルプロジェクトがそう言ったので、ファイルをオブジェクトにロードしようとしている関数があります。
public class SecureFTP {
public static void main(String[] args) throws IOException , ClassNotFoundException, SQLException , JSchException, SftpException{
File file = new File("/home/xxxxx/.ssh/authorized_keys");
URL keyFileURL = this.getClass().getClassLoader().getResource(file);
を使用してみSecureFTP.class.getResource
ましたが、それでもコンパイルできませんでした。
私はJavaにかなり慣れていないので、何か間違っていることを知っています。