BIRT 2.3.2到2.6.0升级错误

时间:2010-08-27 03:26:39

标签: java eclipse tomcat upgrade birt

当我尝试升级嵌入在自定义Web应用程序中的BIRT版本时出现以下错误

java.lang.NoSuchMethodError: org.eclipse.birt.report.engine.api.EmitterInfo.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Lorg/eclipse/birt/core/framework/IConfigurationElement;)V
at org.eclipse.birt.report.engine.extension.internal.ExtensionManager.loadEmitterExtensionDefns(ExtensionManager.java:593)
at org.eclipse.birt.report.engine.extension.internal.ExtensionManager.<init>(ExtensionManager.java:142)
at org.eclipse.birt.report.engine.extension.internal.ExtensionManager.createInstance(ExtensionManager.java:155)
at org.eclipse.birt.report.engine.extension.internal.ExtensionManager.getInstance(ExtensionManager.java:164)
at org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.<init>(ReportEngineHelper.java:79)
at org.eclipse.birt.report.engine.api.impl.ReportEngine.<init>(ReportEngine.java:127)
at org.eclipse.birt.report.engine.api.impl.ReportEngineFactory$1.run(ReportEngineFactory.java:18)
at org.eclipse.birt.report.engine.api.impl.ReportEngineFactory$1.run(ReportEngineFactory.java:1)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.birt.report.engine.api.impl.ReportEngineFactory.createReportEngine(ReportEngineFactory.java:14)

错误发生在代码

的以下行中
birtEngine = factory.createReportEngine(config);

我已经检查了Web App Libraries,我有2.6.0运行时lib jar。

请帮忙

1 个答案:

答案 0 :(得分:1)

感谢JoseK,问题已得到解决。你需要罐子和插件。