BIRT2.2 Event handler class location

来源:互联网 发布:信息的编程加工教案 编辑:程序博客网 时间:2024/05/01 04:19
     I am using BIRT2.2 for crosstab. As for previous versions, if I put the event handler class in /WEB-INF/classes, they work fine. However, they donnot act in version2.2. It is a bug.
    The way is to add following code in the servlet (maybe in BIRT engine):    
 

engine.getConfig().getAppContext().put(EngineConstants.APPCONTEXT_CLASSLOADER_KEY,
ReportEngine.class.getClassLoader())

Refence: https://bugs.eclipse.org/bugs/show_bug.cgi?id=186272

 

原创粉丝点击