As this documentation says, “For example if you place this jndi.properties file on your classpath”, but how can I place the .properties file on my classpath if I am using Eclipse?
As this documentation says, For example if you place this jndi.properties file on your
Share
One option is to place your properties file in the src/ directory of your project. This will copy it to the “classes” (along with your .class files) at build time. I often do this for web projects.