Exception :
java.util.MissingResourceException: Can't find resource for bundle
java.text.resources.LocaleElements_fr_FR, key Eras
at java.util.ResourceBundle.getObject(ResourceBundle.java:322)
at
java.text.DateFormatSymbols.initializeData(DateFormatSymbols.java:458)
at java.text.DateFormatSymbols.<init>(DateFormatSymbols.java:109)
at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:286)
at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:275)
My source :
SimpleDateFormat formatter = new SimpleDateFormat("yyyy.MM.dd
HH:mm:ss -- ");
thanks in advanced
Patrice
Raj
* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!
As I read the specification it should revert all the way back to the
base-class where the 'Eras' key does exist. So it's probably a bug.
Bug Id: 433420 suggests that Java failes to revert back to the base
when the resources are in a .jar file.
You might catch the exception and revert to the english locale, or
download the international version of the JDK where the fr_FR locale is
implemented.
--
Tov Are Jacobsen