Hi all,
Although i'm not a complete newbie i do feel like one at the moment.
This question concerns the use of the ResourceBundle as per the example in
the Trail tutorial on java.sun.com (thus it should be simple, right?).
The error:
java.util.MissingResourceException: Can't find bundle for base name
LabelsBundle, locale en_US
at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
at java.util.ResourceBundle.getBundleImpl(Unknown Source)
at java.util.ResourceBundle.getBundle(Unknown Source)
at multilanguage.PropertiesDemo.displayValue(PropertiesDemo.java:25)
at multilanguage.PropertiesDemo.main(PropertiesDemo.java:46)
Attached is the code and the three prop files i (try to) use.
I know about the classpath suggestions that can be found all over the place
but the prop files are just sitting nicely in the same dir where the
PropertiesDemo.class file resides (and is started from). This suggests to
me that the classpath is ok (right?).
Should not matter but i'm using Eclipse 3M7.
If anybody could help me out here i would really appreciate it. It is
already bugging me for more than 4 hours now :-[[
TIA
Fermin DCG
F. Da Costa - 31 Mar 2004 23:39 GMT
> Hi all,
>
[quoted text clipped - 21 lines]
>
> Should not matter but i'm using Eclipse 3M7.
For some mysterious reason the files should be at the very beginning of the
classpath. Why? Who knows!!
> If anybody could help me out here i would really appreciate it. It is
> already bugging me for more than 4 hours now :-[[
[quoted text clipped - 113 lines]
> #Comment keyboard
> s4=keyboard