My project Structure like,
MyTest
|--> src
|--> .... all java codes...
|--> www
|--> myfile.txt
i tryed to solve it by Resource resource1 = new ClassPathResource("classpath:myfile.txt");
but it couldn`t find file. also i search it in Stackoverflow but no actual answer related to this.
how to i read contents of myfile.txt in my Test.java ?
any one have solution please share with me . Thanks !!