This content has been marked as final.
Show 3 replies
-
1. Re:
radu123 Aug 28, 2009 5:39 AM (in response to radu123)"radu123" wrote:
Hello,
I get the following error : "java.util.MissingResourceException: Can't find bundle for base name com.sun.el.Messages, locale en_US at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:836)" when i try the leave the current Jsf page. For me is really strange because the page is opening and all thing are right until i try to leave it.
As i studied , error is generated from this part of code:
<h:selectOneMenu id="oneInput" value="#{myObj.value1.myValue}" styleClass="inputStyle"
converter="convert">
<f:selectItems value="#{myKeys}" />
</h:selectOneMenu>
<h:selectOneMenu id="oneInput" value="#{myObj.value1.myValue}" styleClass="inputStyle" converter="convert"> <f:selectItems value="#{myKeys}" /> </h:selectOneMenu>
Where "myKeys" is a List which comes from spring web flow.
Also as a remark in faces-config.xml the locale congig is:
<locale-config>
<default-locale>es_Es</default-locale>
<supported-locale>es_Es</supported-locale>
</locale-config>
<locale-config> <default-locale>es_Es</default-locale> <supported-locale>es_Es</supported-locale> </locale-config>
I changed them to "en_Us" but the error still occurs.
If you have an idea please give me an hand !
Regards,
Radu -
2. Re:
nbelaevski Aug 28, 2009 6:04 AM (in response to radu123)Hi Radu,
Try el-api and el-ri from here: http://repository.jboss.org/maven2/javax/el/.
As I remember, one distribution of EL available on the Internet was build without Messages.properties file, so that's causing problems when some standard message is being generated. -
3. Re:
radu123 Aug 28, 2009 8:12 AM (in response to radu123)Hi !
Thanks a lot for posting adding those jars, to my build path had solved the problem, i tried many solutions but this was the right one !
I used "el-api" version 1.
Also, now i tried to reinspect the error , i removed those jars from my build path but the application is still running, so that error does not occurs any more even if now i removed those jars, strange...
Best regards,
Radu