Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Error when exporting Runnable JAR with BIRT(ClassNotFoundException)
icon4.gif  Error when exporting Runnable JAR with BIRT [message #555907] Mon, 30 August 2010 08:08 Go to next message
YANG  is currently offline YANG Friend
Messages: 6
Registered: July 2010
Junior Member
Hi,

Problem: I created a simple class MyEdition with a main method. It simply initialize the engine and startup the platform. It works perfectly inside Eclipse. But when I export it to a Runnable JAR file and execute the JAR file, I got ClassNotFoundException for BIRT concerning classes.

What I want to do is: create a simple application that generate a pre-disigned rptdesign to PDF, and export it as a standalone Java application, like a Runnable JAR file.

Please help me out.

Thanks in advance.
Re: Error when exporting Runnable JAR with BIRT [message #556070 is a reply to message #555907] Mon, 30 August 2010 17:26 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

If you download the BIRT runtime there is already a bat(or shell) file
for running reports using the ReportRunner class. Look in the:
birt-runtime-version\ReportEngine directory for genReport.bat or
genReport.sh

Jason

On 8/30/2010 4:09 AM, YANG wrote:
> Hi,
>
> Problem: I created a simple class MyEdition with a main method. It
> simply initialize the engine and startup the platform. It works
> perfectly inside Eclipse. But when I export it to a Runnable JAR file
> and execute the JAR file, I got ClassNotFoundException for BIRT
> concerning classes.
>
> What I want to do is: create a simple application that generate a
> pre-disigned rptdesign to PDF, and export it as a standalone Java
> application, like a Runnable JAR file.
>
> Please help me out.
>
> Thanks in advance.
>
Re: Error when exporting Runnable JAR with BIRT [message #556082 is a reply to message #556070] Mon, 30 August 2010 18:05 Go to previous message
YANG  is currently offline YANG Friend
Messages: 6
Registered: July 2010
Junior Member
Thanks a lot.

Previous Topic:How to get a custom property of a text item in emitter?
Next Topic:Can't display Chart or Image in Excel export
Goto Forum:
  


Current Time: Thu Nov 27 19:48:30 GMT 2014

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

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