• 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
ERJasperReports and localization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ERJasperReports and localization


  • Subject: ERJasperReports and localization
  • From: hafid ouazib <email@hidden>
  • Date: Sun, 13 Apr 2014 15:06:06 -0400

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

  • Follow-Ups:
    • Re: ERJasperReports and localization
      • From: Theodore Petrosky <email@hidden>
    • Re: ERJasperReports and localization
      • From: Ray Kiddy <email@hidden>
  • Prev by Date: D2W Qualifier Mystery
  • Next by Date: Re: ERJasperReports and localization
  • Previous by thread: Fwd: D2W Qualifier Mystery
  • Next by thread: Re: ERJasperReports and localization
  • Index(es):
    • Date
    • Thread