0

I am a newbie in BIRT, have installed Eclipse Birt plugin 4.3 and downloaded OSGI birt-runtime-osgi-4_3_0, i have a standalone program to open the sample report in the birt runtime envt. but i am getting error

at conf = new EngineConfig(); conf.setEngineHome("C:/birt-runtime-osgi-4_3_0/ReportEngine"); //Create new Report engine based off of the configuration eng = new ReportEngine( conf ); -----------> Error.

as

    Exception in thread "main" java.lang.NoSuchMethodError: org.eclipse.birt.report.engine.api.EngineConfig.getLogRollingSize()I
    at org.eclipse.birt.report.engine.api.impl.ReportEngine.intializeLogger(ReportEngine.java:220)
    at org.eclipse.birt.report.engine.api.impl.ReportEngine.<init>(ReportEngine.java:134)
    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)
    at org.eclipse.birt.report.engine.api.ReportEngine.<init>(ReportEngine.java:71)
    at com.pg.o2.test.synch.ReportTest.main(ReportTest.java:33)

,

thought of running a stand alone pgm and start with JBOSS ,

please let me know if anything i have to download or missign jars.

4

1 回答 1

0

听起来运行时中的 jar 没有在您的 Eclipse 项目中被引用,如此处所述。您是从 eclipse 运行应用程序还是部署它并收到这些错误。如果您在 Eclipse 中,请转到项目设置并将运行时中的 jar 添加到构建路径。如果您在部署时获得这些 jar,则需要放入您的 lib 文件夹中。

于 2013-07-09T16:13:11.777 回答