posted 16 years ago
The properties file should be available in the classpath. In eclipse, the properties file in the source folder will automatically be copied into the output folder. So either you can place the properties file in the existing source folder or you can add the folder which contains it as a source folder.
1) assume 'src' is your source folder and you have,
${PROJECT ROOT} -> src -> bundle -> messages.properties
then the code should be,
2) assume 'src' is your folder,
${PROJECT ROOT} -> src and ${PROJECT ROOT} -> bundle -> messages.properties
You are now adding 'bundle' as source folder in addition to 'src' then your code should be,