Plugins (1059)


Training and Consulting (44)



EPIC Poll

What is your favourite developer portal?

[ Results | Polls ]

Votes: 541
Comments: 0

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
lena5il
Post subject: Can't find bundle for base name  PostPosted: Mar 27, 2006 - 08:43 AM
Guest





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.
 
   
Reply with quote Back to top
javaneando
Post subject: Can't find bundle for base name  PostPosted: 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.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits