I created a new Project from scratch in IntelliJ by using a Maven Module. I didn\'t select any specific archetypes and I clicked on finish. The project gets created
Maven Module
Well the answer is quite simple ..! Just reference the file path in your source code as below:
src\\main\\resources\\FileName
& it should work as expected.