select the Resources folder in Eclipse, right click, select refresh. I noticed 
that when ever I change the jasper file, I must force Eclipse to refresh the 
listing.

it's worth a try.


On Apr 13, 2014, at 3:06 PM, hafid ouazib <[email protected]> wrote:

> Hi,
> I created a new report using iReport and localization works fine when I run 
> it with iReport,
> but when I try to run it inside my application(with eclipse), I put the 
> .jasper report and properties files(traduction_en_CA.properties, 
> traduction_fr_FR.properties, traduction.properties) in Ressources folder of 
> my app
> I get an error:
> 
> MissingResourceException: Can't find bundle for base name traduction, locale 
> fr_FR
>   at 
> java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1499)
>   at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1322)
>   at java.util.ResourceBundle.getBundle(ResourceBundle.java:1028)
>   at 
> net.sf.jasperreports.engine.util.JRResourcesUtil.loadResourceBundle(JRResourcesUtil.java:571)
>   at 
> net.sf.jasperreports.engine.util.JRResourcesUtil.loadResourceBundle(JRResourcesUtil.java:509)
>   at 
> net.sf.jasperreports.engine.fill.JRFillDataset.loadResourceBundle(JRFillDataset.java:534)
>   at 
> net.sf.jasperreports.engine.fill.JRFillDataset.setParameterValues(JRFillDataset.java:569)
>   at 
> net.sf.jasperreports.engine.fill.JRBaseFiller.setParameters(JRBaseFiller.java:1276)
>   at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:897)
>   at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:841)
>   at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:58)
>   at 
> net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:417)
>   at 
> net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:247)
>   at 
> net.sf.jasperreports.engine.JasperRunManager.runReportToPdfFile(JasperRunManager.java:122)
>   
>   any idea??
>   
>   
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
> 
> This email sent to [email protected]


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to