i've got exception, while running java class from Eclipse:
java.util.MissingResourceException: Can't find bundle for base name dbconfig, locale en_US
Seems that my dbconfig.properties file isn't in classpath.
dbconfig.properties located in root of the project.
Eclipse is ran with VM arguments(in Run configurations-->Arguments menu):
-Dcom.xxx.db.cfg=dbconfig
resource bundle is retrieved following way:
rb=ResourceBundle.getBundle((String)System.getProperties().get("com.xxx.db.cfg"));
How to add reference to this property file in .classpath file?