如何避免出现“ NoSuchMethodError”消息?

时间:2018-12-09 13:56:02

标签: java netbeans jasper-reports

我正在尝试在应用程序中显示我的Jasper报告,但是出现此错误:

  

线程“ AWT-EventQueue-0”中的异常java.lang.NoSuchMethodError:net.sf.jasperreports.components.ComponentsManager.setDesignConverter(Lnet / sf / jasperreports / engine / component / ComponentDesignConverter;)V       在net.sf.jasperreports.components.ComponentsExtensionsRegistryFactory。(ComponentsExtensionsRegistryFactory.java:116)在net.sf.jasperreports.components.ComponentsExtensionsRegistryFactory。(ComponentsExtensionsRegistryFactory.java:116)       在java.lang.Class.forName0(本地方法)       在java.lang.Class.forName(Class.java:348)

如何避免呢?

0 个答案:

没有答案