Skip to content
Advertisement

Tag: resourcebundle

Java could not find XML resource bundle

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

Advertisement