java.util.MissingResourceException: Can't find bundle for base name
Unfortunately ResourceBundle.getBundle doesn't look for your translation files in the package in which it's used but a default package ''none''. The solution is to use fully-qualified-resource-names like com.project.file. You can find the fully-qualified-resource-name by viewing the structure of default_project_directory/build/classes/. For abc/g.package you should use
ResourceBundle.getBundle("abs.g").
http://blogs.sun.com/chengfang/entry/p_java_util_missingresourceexception_can
Brak komentarzy:
Prześlij komentarz