i want to access CFRDecompiler folder under decompiled folder from a java main function, how can i do that
Asked
Active
Viewed 442 times
1 Answers
0
can try this code File file = ResourceUtils.getFile("classpath:decompiled/CFRDecompiler/")

Pandiyan MCA
- 41
- 1
- 7
-
this didn't work Exception in thread "main" java.io.FileNotFoundException: class path resource [decompiled/CFRDecompiler/] cannot be resolved to absolute file path because it does not exist – behlHardik Dec 08 '20 at 12:32
-
Hi, this is the right way to access local file code try again this "classpath:decompiled/CFRDecompiler/samplefile.json" – Pandiyan MCA Dec 08 '20 at 12:37