error: If they are *.properties, no problems. How to load XML resource bundles? Answer By default, Java SE ResourceBundle.getBundle(…) only understands loading of resource bundles implemented as Java classes or “.properties” files. If you want to load a ResourceBundle from an XML file, you need to provide a custom ResourceBundle.Control implementation that implements the resource search and loading strategies. There
Tag: resourcebundle
Conflict between ValidationMessages.properties files
I use to collect all my validation constraints in a common library. In the root of the jar I put a ValidationMessages_it.properties file. All works fine, if I put this library into a jsf 2 war project …