无法启动OSGIPlatform

时间:2018-08-20 16:47:52

标签: osgi birt

外面有人遇到这种问题

  

org.eclipse.birt.core.exception.BirtException:错误。CannotStartupOSGIPlatform

EngineConfig config = new EngineConfig();
Platform.startup(config);
config.setPlatformContext(new PlatformFileContext());
IReportEngineFactory factory = (IReportEngineFactory)Platform.createFactoryObject(IReportEngineFactory.EXTENSION_REPORT_ENGINE_FACTORY);
engine = factory.createReportEngine(config);

0 个答案:

没有答案