0

Adding folder to classpath - tomcat

I feel like a bit of an idiot here but am am frustrated with my attempts to add a folder to the classpath. I am running tomcat from within IJ and i have my properties file in a folder that is not part of source. (src/test/resources)
What i did was to rigt click that folder and mark it as a source folder (which made it turn blue). However when tomcat starts up it does not see the file. I tried making both test and test/resourfces as a source folder but with no success.

however if i keep that properties files under src/main/resources all is well.

thx in advance
-anish

2 comments

Please sign in to leave a comment.