Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » genReport.bat event handler class not found
genReport.bat event handler class not found [message #1838249] Fri, 19 February 2021 14:13
Ondřej Duchoň is currently offline Ondřej DuchoňFriend
Messages: 1
Registered: February 2021
Junior Member

I have a problem with my birt report engine. I have used version 2.2.0. I have my custom java event handler for image to generate qr codes. When I developed this event handler in eclipse, everything run perfectly.

But when I have tested my event handler with genReport.bat script with reportEngine I get an error:
java.lang.ClassNotFoundException: com.minerva.barcodegen.birt.BIRTQRCodeGenerator

I have edited the genReport.bat file where I am adding my jar file to the classpath like this:

SET BIRTCLASSPATH=%BIRT_HOME%\ReportEngine\lib\chartengineapi.jar;%BIRT_HOME%\ReportEngine\lib\;%BIRT_HOME%\ReportEngine\lib\commons-cli-1.0.jar;%BIRT_HOME%\ReportEngine\lib\commons-codec-1.3.jar;%BIRT_HOME%\ReportEngine\lib\coreapi.jar;%BIRT_HOME%\ReportEngine\lib\dataadapterapi.jar;%BIRT_HOME%\ReportEngine\lib\dteapi.jar;%BIRT_HOME%\ReportEngine\lib\engineapi.jar;%BIRT_HOME%\ReportEngine\lib\flute.jar;%BIRT_HOME%\ReportEngine\lib\js.jar;%BIRT_HOME%\ReportEngine\lib\modelapi.jar;%BIRT_HOME%\ReportEngine\lib\org.eclipse.emf.common_2.2.1.v200702131851.jar;%BIRT_HOME%\ReportEngine\lib\org.eclipse.emf.ecore_2.2.2.v200702131851.jar;%BIRT_HOME%\ReportEngine\lib\org.eclipse.emf.ecore.xmi_2.2.2.v200702131851.jar;%BIRT_HOME%\ReportEngine\lib\org.w3c.css.sac_1.3.0.v200706111724.jar;%BIRT_HOME%\ReportEngine\lib\scriptapi.jar;%BIRT_HOME%\ReportEngine\lib\barcodegen.jar;

Can you tell me where can I copy my jar file for the birt event handler?

Thank you very much.
Previous Topic:Duplicate class definition in Birt runtime 4.2
Goto Forum:

Current Time: Mon Jul 15 21:12:09 GMT 2024

Powered by FUDForum. Page generated in 0.04053 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top