Hopefully someone's had this same issue and solved it. I can compile with no problems, but then I get the following at runtime:
File not found when looking for: org.jfree.chart.plot.LocalizationBundle
File not found when looking for: org.jfree.chart.plot.LocalizationBundle_en
File not found when looking for: org.jfree.chart.plot.LocalizationBundle_en_US
File not found when looking for: org.jfree.chart.resources.JFreeChartResources_en
File not found when looking for: org.jfree.chart.resources.JFreeChartResources_en_US
File not found when looking for: org.jfree.resources.JCommonResources_en
File not found when looking for: org.jfree.resources.JCommonResources_en_US
File not found when looking for: org.jfree.chart.LocalizationBundle_en
File not found when looking for: org.jfree.chart.LocalizationBundle_en_US
I found an earlier post that suggested building the localization files as java/class files and including them in the jar file to see if that helped, but after creating the LocalizationBundle.java file, compiling it, and rebuilding the jar file with the "ant compile" I'm still getting the message. For some reason it's not adding it to the jar file. I'm not that familiar with ant, but I looked through the build file and commented out the part that deleted the build directory so I could see if my new java file was compiled and it was. However when I looked at the new jar file it wasn't there. And I've created a couple of properties files and found those in the jar so I know it's looking in the right place. Is there something I need to do to the build file to make it include my new class file with the jar file? Any help would be greatly appreciated.
Thanks
Missing LocalizationBundle and Can't Include in Jar File
-
- Posts: 4
- Joined: Tue Aug 08, 2006 9:49 pm
- Location: South Carolina
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Which version of JFreeChart are you building? Are you compiling from clean sources, or have you modified them? Which JRE are you using?
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

