mayora Posted January 27, 2014 Share Posted January 27, 2014 Hi Everybody,please help me out in resolving the below issue:java.util.MissingResourceException: Can't find bundle for base name localemsgs_en_US, locale en_USjava.util.ResourceBundle.throwMissingResourceExceptionjava.util.ResourceBundle.getBundleImpljava.util.ResourceBundle.getBundlenet.sf.jasperreports.engine.util.JRResourcesUtil.loadResourceBundlenet.sf.jasperreports.engine.util.JRResourcesUtil.loadResourceBundle I'm getting this error when I run the report in jasperserver 5.5. Thanks In Advance, Mayo Link to comment Share on other sites More sharing options...
kcollins Posted January 30, 2014 Share Posted January 30, 2014 Hello,This error means that your report uses a resource bundle named localemsgs_en_US, but it is not included as a resource on the server. In the report properties in the JRXML, you will have a bundle name. This will be inside the jasperReport element as "resourceBundle=localemsgs_en_US." You need to add this as a resource of the report in the edit report menu and name it localemsgs_en_US.properties.Regards,-Kris Link to comment Share on other sites More sharing options...
PMSD Posted March 6, 2015 Share Posted March 6, 2015 Adding resourse bundles and external jar files:This may not be the same version as the asker, but in Jaspersoft Studio 6.0.3 I solved the same problem I was having by creating a folder names resources in the My Reports folder. I put all my message_*.properties files and *.jpg files in it. In Jaspersoft, in the Project Explorer:--> right click resources --> Build Path --> Use as SourceI also create a folder named lib and put a util.jar file in there that contained some util classes. Then, in a similar way--> right click util.jar --> Build Path --> Add to Build Pathyou can get to the general build/source configuration menus by right clicking pretty much any element in the explorer and picking --> Build Path --> Configure Build Path...after that EXIT and RESTART the Jaspersoft Studio!! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now