borisnikfai Posted March 14, 2012 Share Posted March 14, 2012 Hello gentelmen.I have an issue to set up my datasource via 'JavaBean set datasource ' option and, as well, same result coming out when I am trying to use other option 'Custom JRDataSource'.I created jar file with MyDataSource class, which returns Map from getBeanCollection() methods.And when I test the connection environment to this class I do not receive "Connection test successfully", I receive "General problem com.myproject.web.report.MyDataSource.createBeanCollection()".I don't understand why. If somebody can help me to understand the reason?(version jdk and jre 1.5, version compiler from Eclipe 1.5).Thank youPost Edited by borisnikfai at 03/14/2012 15:30Post Edited by borisnikfai at 03/14/2012 15:43 Link to comment Share on other sites More sharing options...
borisnikfai Posted March 22, 2012 Author Share Posted March 22, 2012 I am sorry for interrupting with the same question, but can same body help me to understand with I am receiving 'General problem"? Link to comment Share on other sites More sharing options...
Timbo2013 Posted August 19, 2013 Share Posted August 19, 2013 Same thing with the "general problem" here...I read about it many times and the way I fixed the "Test Connection" was to create only an empty constructor for the beanList offering class.But I've got still problems to get the data from my list correctly into my report --> subreport area is empty and the whole report is printed as often as the subreport has entries^^ edit:I solved my problem - I added the bean to my hashmap and passed it to the subreport like a parameter... 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