Jump to content
We've recently updated our Privacy Statement, available here ×

Factory class not found


ganton.bridge

Recommended Posts

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

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

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.NullPointerException
at 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...