Poll: How do i add a txt file to classpath

  • Am trying to add a text file to classpath and am having issues with that. Ive done some googling and not finding how it can be done. I will appreciate some help in doing that. Thanks

You add the file to src/main/resources directory

Thanks alot i got it to work using that approach