Hello,
while configuring a dataset using a Web Service Data Adapter I'm running into the following error:
java.lang.NoSuchMethodError: 'net.sf.jasperreports.data.DataAdapterServiceUtil net.sf.jasperreports.data.DataAdapterServiceUtil.getInstance(net.sf.jasperreports.engine.JasperReportsContext)'
at com.jaspersoft.studio.data.webservice.WebServiceWizardEditorComposite.readFields(WebServiceWizardEditorComposite.java:137)
at com.jaspersoft.studio.wizards.datasource.StaticWizardDataSourcePage.run(StaticWizardDataSourcePage.java:350)
at com.jaspersoft.studio.wizards.JSSWizardRunnablePage$1.run(JSSWizardRunnablePage.java:68)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
The errors occurs after configuring the 'Data Source'-window and clicking on 'Next'.
Thank you in advance.
i have de same problem
I managed to solve the problem by using the JSON Data Adapter instead of the Webservice Data Adapter. The JSON adapter is able to set header parameters via the options window which can be used by input controls parameter.
Tutorial for JSON Data Adpater: https://community.jaspersoft.com/wiki/using-data-adapters-fill-reports-j...
Tutorial for Input Control: https://www.youtube.com/watch?v=uTx5QEBSTfQ
Does someone solve it using data adapter?