Quantcast
Channel: BIRT Exchange Forum Feed
Viewing all articles
Browse latest Browse all 542

ReferenceError: Object is not defined.

$
0
0
Hey folks,

I got an issue referencing a class from a jar.

To give you a short overview over my problem: I created a Java Project in the BIRT Designer and created a DataSource within this project like explained here: http://www.vogella.de/articles/EclipseBIRT/article.html#java.

I then created a Report Project with a Scripted DataSource and DataSet. In the open-Script of the DataSet Itried to create a new Instance of my Class via
importPackage(Packages.com.example);
umr = new Example("Arg1", "Arg2");


Under Project -> Properties -> Report Design -> Classpath I added the Java Project but when I start debugging it always says
org.mozilla.javascript.EcmaError: ReferenceError: "Example" is not defined.


Putting the Project into a jar-File and adding it as a ressource leads to the same effect.

I hope you guys can help me out with this one.

Best regards

Viewing all articles
Browse latest Browse all 542

Trending Articles