ResBundle
当我在同一个包中创建一个扩展类的类时,我收到以下异常ListResourceBundle
。
java.util.MissingResourceException: Can't find bundle for base name ResBundle, locale en_GB
我的呼叫代码
Locale locale = Locale.getDefault();
ResourceBundle resourceBundle = ResourceBundle.getBundle("ResBundle", locale);