Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Adding folder to classpath - tomcat

$
0
0

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


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>