BIRT 2.3.2 到 2.6.0 升级错误

发布于 2024-09-16 01:44:05 字数 1559 浏览 5 评论 0原文

当我尝试升级自定义 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 应用程序库,并且在其中有 2.6.0 运行时 lib jar它。

请帮忙

I am getting the following error when I try to upgrade the BIRT version that is embedded in my custom web application

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)

The error occurs in the following line in the code

birtEngine = factory.createReportEngine(config);

I have checked the Web App Libraries and I have the 2.6.0 runtime lib jars in it.

Please help

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

情何以堪。 2024-09-23 01:44:05

感谢 JoseK,问题已经解决。您需要罐子和插件。

Thanks to JoseK, issue has been resolved. You need the jars and the plugins.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文