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 n…
Tag: resourcebundle
Why do I get MissingResourceException
Why does this throw a MissingResourceException ? Am I mistaken or is that not the point of ListResourceBundles is to provide the resources in code? in a seperate file: My Error: Answer When you get an error, and try to understand the reason, the first step is always to read the stack trace of the error. In th…
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 …