edbeaty Posted June 11, 2008 Share Posted June 11, 2008 Hello, all. I have installed the IReports plugin for NetBeans 6.1, and am trying to create a new Report using a JRDataSourceProvider, with no luck. I've copied over the PersonBeansDataSource http://jsourcery.com/api/sourceforge/ireport/1.2.8/it/businesslogic/ireport/examples/PersonBeansDataSource.source.html#jj1537777112 and all the associated Beans (PersonBean, etc.) to my local NetBeans project. The class compiles correctly, so it must know where the JasperReports libraries are. When I go New > Other > Report > ReportNextNext (use the default file name)select New (datasource)select JRDataSourceProvider and click Nextname = "foo"JasperReports DataSourceProvider class = PersonBeansDataSourceClick Test ClassNotFoundError! Msg PersonBeansDataSource Possible not found class PersonBeansDataSource check your classpath! ...okay. I'll try full.path.to.the.class.in.my.project.PersonBeansDataSourceProvider. I get a ClassNotFoundError! Msg: full.path.to....etc...PersonBeansDataSource. If I cancel, and use the default JRDataSourceProvider class, com.jaspersoft.ireport.examples.PersonBeansDataSource and click Test, I get Connection test successful!. Is there any way to get the IReport plugin to see a class in my file as a JRDataSourceProvider? Thanks for any help.-Ed Link to comment Share on other sites More sharing options...
edbeaty Posted June 21, 2008 Author Share Posted June 21, 2008 Not feelin' the love here! 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