0
down vote
favorite
I want to integrate Birt Report 4.6 engine with Wildfly 10.1.0
I have created the "org.eclipse" module added in the application dependency. and When I try to open the report I get some error. test.rptdesign is in test.war file
test.rptdesign
<?xml version="1.0" encoding="UTF-8"?>
<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.22" id="1">
<property name="createdBy">Eclipse BIRT Designer Version 3.7.1.v20110905 Build <3.7.1.v20110913-1734></property>
<property name="units">in</property>
<method name="initialize"><![CDATA[importPackage(Packages.java.lang);
importPackage(Packages.java.util);
//code here
The following items have errors:
ReportDesign (id = 1):
- There are errors evaluating script "importPackage(Packages.java.lang);
importPackage(Packages.java.util);
birt.core.JavascriptCommonError ( 1 time(s) )
detail : org.eclipse.birt.report.engine.api.EngineException: There are errors evaluating script "importPackage(Packages.java.lang);
importPackage(Packages.java.util);
Caused by: org.eclipse.birt.core.exception.CoreException: There are errors evaluating script "importPackage(Packages.java.lang);
importPackage(Packages.java.util);
How to make java and my custom jar available while compilation in birt? I have added custom jar as dependency in the manifest file of birt.war still it does get custom as well as java.lang and java.util package