Error while using WebService Data Adapter

0

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: 6 days 20 hours ago

i have de same problem

paulpsan - 1 month 14 hours 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 - 3 weeks 6 days ago

0 Answers:

No answers yet
Feedback
randomness