I need an xml file to be accessed via the classpath in a java application i am creating . how to achieve it in eclipse
I'd generate a separate resources folder, right-click it and select Build Path > Use as Source Folder
. That way it's on the class path, but you're not mixing it with your Java source files
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With