ganton.bridge Posted July 3, 2015 Share Posted July 3, 2015 I installed the Jasper Studio plugin for my eclipse installation. I already had a Java project in which I want to create a report. I went to data source, added a new Collection of Javabeans, selected the class and the method, but when I click Test I get:net.sf.jasperreports.engine.JRException: java.lang.ClassNotFoundException: utilitati.TestJavaBean cannot be found by net.sf.jasperreports_6.1.0.final How can I make this plugin "see" my project? It's definetly there, the class appears if I click on the "..." button and type "TestJavaBean". Link to comment Share on other sites More sharing options...
nayan.ems.gtl Posted July 4, 2015 Share Posted July 4, 2015 Hi,I am faing same issue, Did you found any solution for the same? Link to comment Share on other sites More sharing options...
ganton.bridge Posted July 4, 2015 Author Share Posted July 4, 2015 Not yet. Link to comment Share on other sites More sharing options...
hozawa Posted July 5, 2015 Share Posted July 5, 2015 Export your project as a jar and put it in build path of JasperReports project. Link to comment Share on other sites More sharing options...
nayan.ems.gtl Posted July 5, 2015 Share Posted July 5, 2015 Hi Hozawa,Thanks for your reply. I am using eclipse plugin and my report is under the same project where class are declared. After some try it's generating new error as below. java.lang.NullPointerExceptionat net.sf.jasperreports.engine.util.JRQueryExecuterUtils.getExecuterFactory(JRQueryExecuterUtils.java:106)at net.sf.jasperreports.engine.design.JRDesignDataset.queryLanguageChanged(JRDesignDataset.java:1231)at net.sf.jasperreports.engine.design.JRDesignDataset.setQuery(JRDesignDataset.java:686)at com.jaspersoft.studio.wizards.WizardUtils.createDataset(WizardUtils.java:59)at com.jaspersoft.studio.templates.JrxmlTemplateBundle.doFinish(JrxmlTemplateBundle.java:88)at com.jaspersoft.studio.wizards.ReportNewWizard$1.run(ReportNewWizard.java:189)at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119) 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