You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Yevgen VORONETSKYY <ye...@open-groupe.com> on 2011/02/02 10:26:40 UTC
Maven can't find a RessourceBundle for French locale on Linux
Hello,
I'm using:
* Maven 2.2.1
* JDK 1.6
* the standard maven folder structure.
I'm getting a strange error only on the Ubuntu integration server. Some
tests fail with the following error:
Caused by: java.util.MissingResourceException: Can't find bundle for base
name EmailMessagesBundle, locale fr_FR
at
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1
427)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1250)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:777)
The same tests pass with success on my Windows XP.
It's seems that is the environment problem.
Can anyone help me to debug this issue?
Thanks in advance,
-----
VORONETSKYY Yevgen
RE: Maven can't find a RessourceBundle for French locale on Linux
Posted by Ludwig Magnusson <lu...@itcatapult.com>.
Do you have support for French locales in your app?
If not I would guess that the default locale on the Ubuntu server is fr_FR.
If so, the solution would be to configure a default locale in the app you're
building. Otherwise the default locale is platform dependent.
/Ludwig
From: Yevgen VORONETSKYY [mailto:yevgen.voronetskyy@open-groupe.com]
Sent: den 2 februari 2011 10:27
To: users@maven.apache.org
Subject: Maven can't find a RessourceBundle for French locale on Linux
Hello,
I'm using:
* Maven 2.2.1
* JDK 1.6
* the standard maven folder structure.
I'm getting a strange error only on the Ubuntu integration server. Some
tests fail with the following error:
Caused by: java.util.MissingResourceException: Can't find bundle for base
name EmailMessagesBundle, locale fr_FR
at
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1
427)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1250)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:777)
The same tests pass with success on my Windows XP.
It's seems that is the environment problem.
Can anyone help me to debug this issue?
Thanks in advance,
-----
VORONETSKYY Yevgen
_____
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1204 / Virus Database: 1435/3417 - Release Date: 02/01/11