Skip to: Site menu | Main content

Email LinkedIn


BIRT Exception "ReferenceError: <OBJECT> is not defined"

While trying to use a Scripted Data Source within BIRT Report Designer I ran across this error:

BIRT ReferenceError: <OBJECT> is not defined

Where OBJECT is any Java class. My Java class was very simple.

I verified my JAR file was in the plugin scriptlib folder


My problem was that my Java class had a main[] signature for some simple testing outside of BIRT.

I removed the main[] method on the class and exported my JAR again.

BIRT Report Designer could then instantiate my Java class without error.

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)