Gwt 错误。运行birt时无法启动OSGi平台问题
我正在将Birt 4.6.0实现到我的gwt应用程序中。不幸的是,每当我运行程序的特定部分时,都会出现以下错误: org.eclipse.birt.core.exception.BirtException: 错误。无法启动OSGi平台 org.eclipse.birt.core.framework.Platform.startup(Platform.java:81) 我做了一些搜索,其中一个帖子提到了a,但我不确定这意味着什么。这是什么意思 EDIT刚刚阅读了另一篇文章,其中指出我的类路径可能存在问题,但我已经将ReportEngine/lib中的所有jar文件添加到了我的buildpath中。有人知道我应该包括哪些jar文件吗 违规代码:Gwt 错误。运行birt时无法启动OSGi平台问题,gwt,birt,Gwt,Birt,我正在将Birt 4.6.0实现到我的gwt应用程序中。不幸的是,每当我运行程序的特定部分时,都会出现以下错误: org.eclipse.birt.core.exception.BirtException: 错误。无法启动OSGi平台 org.eclipse.birt.core.framework.Platform.startup(Platform.java:81) 我做了一些搜索,其中一个帖子提到了a,但我不确定这意味着什么。这是什么意思 EDIT刚刚阅读了另一篇文章,其中指出我的类路径可能存
public static synchronized IReportEngine getBirtEngine(ServletContext sc) {
if (birtEngine == null) {
EngineConfig config = new EngineConfig();
java.util.HashMap map = config.getAppContext();;
map.put(EngineConstants.APPCONTEXT_CLASSLOADER_KEY, SegnalazioniDbManager.class.getClassLoader());
config.setAppContext(map);
IPlatformContext context = new PlatformServletContext(sc);
config.setPlatformContext(context);
try {
Platform.startup(config); //problem begins here
.....
}
[1]: http://developer.actuate.com/community/forum/index.php?/topic/20933-errorcannotstartuposgiplatform/
是的,这确实是一个权限错误 有关档案如下: WEB-INF/platform/configuration/org.eclipse.osgi/.manager/.fileTableLock 您需要向Birt用户授予访问权限