I'm trying to set up a properties file. I followed some tutorials but without success. I'm having the following error:
Caused by: java.util.MissingResourceException: Can not find bundle for base name src.main.resources.properties.messages, locale pt
My faces-config file looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<faces-config xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd"
version="2.2">
<application>
<locale-config>
<default-locale>pt</default-locale>
<!-- <supported-locale>en</supported-locale> -->
</locale-config>
<resource-bundle>
<base-name>src.main.resources.properties.mensagens</base-name>
<var>msg</var>
</resource-bundle>
</application>
</faces-config>
Does anyone know how to solve this?