I've seen several examples of reading a properties file, but I can't seem to get it to work, am I missing a "load" method/class? Even the import does not work.
Please see attached image for more infomation:
Naming your class Properties
is shadowing java.util.Properties
. You either need to rename your class to something like MyProperties
, or qualify each access to java.util.Properties
and remove the import.
private static java.util.Properties config = new java.util.Properties();
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments