I am trying to read the content of the folder of my Java EE Spring application, but it always return me null
. The folder I want is under src/main/resources
folder and it`s called context
. I try doing it this way :
File file = new File("src/main/resources/context")
But it always return me null
for file.