Upgrade BIRT 2.3.2 to BIRT2.6 [message #547757] |
Mon, 19 July 2010 10:45  |
Eclipse User |
|
|
|
Hi all,
I have a problem when I tried to update my java application to using BIRT2.6 (NOT WEB)
I replaced the following directory for BIRT :
1- lib
2- plugins
3- configuration
but when I tried to create the engine I faced the following exception:
java.lang.NoSuchMethodError: org.eclipse.birt.report.engine.api.EngineConfig.getLogRollin gSize()
and this is the code which I used to create the engine :
EngineConfig config = new EngineConfig();
config.setEngineHome(home);//the location of the engine plug-ins and jar files
config.setLogConfig(home+"/BIRT_log", Level.ALL); //use null if you do not want a log file
Platform.startup( config );
IReportEngineFactory factory = (IReportEngineFactory) Platform.createFactoryObject(IReportEngineFactory.EXTENSION_ REPORT_ENGINE_FACTORY);
engine = factory.createReportEngine( config ); //here the error happened
please advice,
thanks in advance
Saed
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03356 seconds