Exception in thread “main” java.lang.NoSuchMethodError: net.sf.jasperreports.engine.design.JasperDesign.setIgnorePagination(Z)V

StackOverflow https://stackoverflow.com/questions/12296646

  •  30-06-2021
  •  | 
  •  

Domanda

I am new to dynamicreports, the example can be found at the link, but it gives me the following exception.

Please help me to find the issue.

Exception in thread "main" java.lang.NoSuchMethodError: net.sf.jasperreports.engine.design.JasperDesign.setIgnorePagination(Z)V

Regards

È stato utile?

Soluzione

You must be sure that you are using the correct version of the libraries. http://dynamicreports.sourceforge.net/requirements.html

In your case you have an error with jasperreports. With DynamicReports 3.0.2, the jasperreports correct version is 4.7.0 or above

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top