Error while using WebService Data Adapter

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.

tllstrtzl's picture
Joined: Oct 6 2020 - 1:12am
Last seen: 2 years 2 months ago

i have de same problem

paulpsan - 2 years 5 months ago

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

tllstrtzl - 2 years 5 months ago

Does someone solve it using data adapter?

gardy.padua - 1 year 7 months ago

0 Answers:

No answers yet
Feedback
randomness