在属性文件中:
FolderPath =C:\pre-configured/Import.csv
在主类中,我将此路径作为方法加载的参数传递
Properties pro = new Properties();
new CSV().load(con,"pro.FolderPath", "VALIDATION");
但它给出的错误是:
pro.getProperty(FolderPath) (The system cannot find the file specified.)
请帮助将此路径作为参数传递给方法。