seenu Posted January 11, 2012 Share Posted January 11, 2012 I am unable to add Resource Bundle properties to the class path in Jasper Studio 1.0.4. I have used Internationalization ( defining Text Field Expression as $R{text.message1} ) within my Jasper Report Template. when Preview the report, it is asking for Resource bundle. But I could not find any option of adding Resource bundle propertie files in Jasper Studio. Following Work Around worked for me :Create the Project as Java Project and added all my resource bundle properties to class path under Java project. It worked. Report Template able to retrieve the resource bundle and exeute the report successfully.But In real scenarios, we will be creating reports under Jasper Report Project only not as Java Project.Please provide any pointers on how to add Resource Bundles in Japser Studio- Srinivas Link to comment Share on other sites More sharing options...
diddy Posted January 11, 2012 Share Posted January 11, 2012 Can you please share how exactly you added the properties files to the class path? Link to comment Share on other sites More sharing options...
seenu Posted January 12, 2012 Author Share Posted January 12, 2012 Actually I have placed all my properties under src directory of my Java Project. As the <yourproject>/src folder already in the class path. It worked for me.But same thing is not possible if you create Project as Jasper Report Project.I need pointers about adding resource Bundle to the Jasper Report project.- Srinivas Link to comment Share on other sites More sharing options...
diddy Posted January 12, 2012 Share Posted January 12, 2012 thanks. this is the way I currently set up my projects as well. I was somehow under the impression that you found out another approach.Yes, I'd like to know as well how to add properties files to Jasper Projects. Link to comment Share on other sites More sharing options...
chicuslavic Posted January 18, 2012 Share Posted January 18, 2012 upgrade to 1.0.7 it should work now for resource bundles best regards,Veaceslav Chicu Link to comment Share on other sites More sharing options...
seenu Posted January 24, 2012 Author Share Posted January 24, 2012 How to add my resource bundles in Jasper Studio 1.0.7? - SrinivasPost Edited by seenu at 01/24/2012 09:11 Link to comment Share on other sites More sharing options...
chicuslavic Posted February 2, 2012 Share Posted February 2, 2012 please try to add in Jaspersoft Studio 1.0.8 some classloader problems were fixed best regards,Veaceslav Chicu Link to comment Share on other sites More sharing options...
atosscsd Posted February 17, 2012 Share Posted February 17, 2012 I tried 1.0.8 and added the related plugins in the myreports-build-path. But without success. Still get errors likeStart compilingnet.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:1. com.company.util.DateTime cannot be resolved to a typewhat can I do to use external jar like in iReport? 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