• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ERJasperReports and localization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERJasperReports and localization


  • Subject: Re: ERJasperReports and localization
  • From: Theodore Petrosky <email@hidden>
  • Date: Sun, 13 Apr 2014 15:58:45 -0400

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@hidden> 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@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >ERJasperReports and localization (From: hafid ouazib <email@hidden>)

  • Prev by Date: Re: ERJasperReports and localization
  • Next by Date: Re: Java 8
  • Previous by thread: Re: ERJasperReports and localization
  • Next by thread: Re: Java 8
  • Index(es):
    • Date
    • Thread