gdoe6545 Posted November 30, 2012 Share Posted November 30, 2012 I've set up a Data Adapter in Studio for a collection of beans and added the jar files containing my beans; testing the data adapter works.When I create a new report and associate my Data Adapter I am not able to get the fields from my bean - in the Dataset & Query Dialog I get a "Class not found" error when entering my bean in the class name field.Do I need to set the classpath in another place as well as in the Data Adapter definition? Link to comment Share on other sites More sharing options...
Massimo Rabbi Posted December 4, 2012 Share Posted December 4, 2012 Hi, which version of Jaspersoft Studio are you using? Is it plugin version or stand-alone?Thanks. Massimo. Link to comment Share on other sites More sharing options...
gdoe6545 Posted December 4, 2012 Author Share Posted December 4, 2012 Standalone Jaspersoft Studio 1.3.2 on Mac OS X Link to comment Share on other sites More sharing options...
Massimo Rabbi Posted December 4, 2012 Share Posted December 4, 2012 Ok I will investigate and let you know. Massimo. Link to comment Share on other sites More sharing options...
Massimo Rabbi Posted December 4, 2012 Share Posted December 4, 2012 Hi, I can confirm it's a bug regarding the classpath visible to the Type Dialog (opened by the button) and when digiting the full class name. the "Java Bean" mapping tool you are using, has the classpath visibility limited to the report (and therefore project) classpath. However manually entering the fields, even from the "Dataset & Query" dialog, you should see that the data preview works fine and also the report preview is fine. So we will fix this issue in the upcoming next release.Right now as a "dirty" workaround if If you want to be able to use the Type Dialog and see the fields, you can add your external jar to your Report project build-path. If you do this, then you no longer need it in the DataAdapter definition section.Hope this helps. Best regards, Massimo.PS: I've update the original message correcting the wrong sentences. I've in fact double checked with my colleagues the actual behavior of the dialog you were referring to. So it's not a bug, it works like this by design. Link to comment Share on other sites More sharing options...
giovannis Posted September 24, 2014 Share Posted September 24, 2014 there is a bug! in macosx i can choose the class but fields are not read Link to comment Share on other sites More sharing options...
giovannis Posted September 24, 2014 Share Posted September 24, 2014 there is a bug in macosx i can choose the class but fields are not read Link to comment Share on other sites More sharing options...
happy_1314_lu Posted May 20, 2016 Share Posted May 20, 2016 how to solve this matter? 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