Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
java.lang.NoSuchMethodError: org.eclipse.birt.report.engine.api.EngineConfig.getLogRollingSize()I
viky4frnds
<p>Hi all,</p>
<p> <br>
I am a newbie in BIRT, have installed Eclipse Birt plugin 4.3 and downloaded OSGI birt-runtime-osgi-4_3_0,</p>
<p>i have a standalone program to open the sample report in the birt runtime event. but i am getting error</p>
<p> <br>
at</p>
<p>conf = new EngineConfig();</p>
<p>conf.setEngineHome("C:/birt-runtime-osgi-4_3_0/ReportEngine");</p>
<p>//Create new Report engine based off of the configuration</p>
<p>eng = new ReportEngine( conf );
> Error.<br>
<br>
as</p>
<p> <br>
Exception in thread "main" java.lang.NoSuchMethodError: org.eclipse.birt.report.engine.api.EngineConfig.getLogRollingSize()I</p>
<p> at org.eclipse.birt.report.engine.api.impl.ReportEngine.intializeLogger(ReportEngine.java:220)</p>
<p> at org.eclipse.birt.report.engine.api.impl.ReportEngine.<init>(ReportEngine.java:134)</p>
<p> at org.eclipse.birt.report.engine.api.impl.ReportEngineFactory$1.run(ReportEngineFactory.java:18)</p>
<p> at org.eclipse.birt.report.engine.api.impl.ReportEngineFactory$1.run(ReportEngineFactory.java:1)</p>
<p> at java.security.AccessController.doPrivileged(Native Method)</p>
<p> at org.eclipse.birt.report.engine.api.impl.ReportEngineFactory.createReportEngine(ReportEngineFactory.java:14)</p>
<p> at org.eclipse.birt.report.engine.api.ReportEngine.<init>(ReportEngine.java:71)</p>
<p> at com.pg.o2.test.synch.ReportTest.main(ReportTest.java:33)</p>
<p> <br>
,</p>
<p> <br>
thought of running a stand alone pgm. <br>
<br>
please let me know if anything i have to download or missing.</p>
Find more posts tagged with
Comments
mwilliams
<p>Take a look at my response in your other post. I didn't know you were using the OSGi runtime when I posted that, but everything should be the same except add your setEngineHome line back in. Hope this helps.</p>
<p> </p>
<p><a data-ipb='nomediaparse' href='
http://developer.actuate.com/community/forum/index.php?/topic/35091-problem-when-calling-birt-file-in-java-as-standalone/'>http://developer.actuate.com/community/forum/index.php?/topic/35091-problem-when-calling-birt-file-in-java-as-standalone/</a></p>
;
viky4frnds
<p>Thank you ..its working fine</p>
mwilliams
<p>Great to hear! Let us know whenever you have questions!
</p>