| Author |
Message |
|
|
Post subject: Can't find bundle for base name
Posted: Mar 27, 2006 - 08:43 AM
|
|
|
|
Hello,
I am trying to generate a report with hebrew text in it.
As was written in the tutorial, I use a Locale and a ResourceBundle:
| Code: |
Locale locale = new Locale("he","IL");
parameters.put(JRParameter.REPORT_LOCALE, locale);
ResourceBundle resources = ResourceBundle.getBundle("StatusReport", locale);
parameters.put(JRParameter.REPORT_RESOURCE_BUNDLE,resources);
|
I've created a StatusReport.properties file with a following line:
dir = rtl
But when I try to run the application, I get the following exception:
java.util.MissingResourceException: Can't find bundle for base name StatusReport, locale iw_IL at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:839)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:808)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:579)
Help me please to resolve this problem.
Thanks.
P.S. I get the same error when I write the whole path too. |
|
|
| |
|
|
|
 |
|
|
Post subject: Can't find bundle for base name
Posted: Oct 03, 2007 - 07:18 PM
|
|
Joined: Oct 03, 2007
Posts: 1
|
|
Are you using the eclipse debug tool perspective?
I had the same problem using it.
I think that The "working directory" property setting is not fully working in my machine and I do not know why. |
|
|
| |
|
|
|
 |
|
|
| |