Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Problem when migrate to birt 3.7
Problem when migrate to birt 3.7 [message #753398] Thu, 27 October 2011 04:22 Go to next message
Leon Tan is currently offline Leon TanFriend
Messages: 3
Registered: October 2011
Junior Member
Hi,

I am using ReportEngine in a standalone application. My application is packed with onejar and with birt 2.6 all working fine. When I was trying to generate report using 3.7.0 I got the following error:
WARING: Failed to install plugin from onejar:lib/
java.lang.ClassCastException: sun.misc.Launcher$AppClassLoader cannot be cast to com.simontuffs.onejar.JarClassLoader

This error happened at Platform.startup( config ) method.

I already removed config.setEngineHome().

Please anyone can help me?
Re: Problem when migrate to birt 3.7 [message #753532 is a reply to message #753398] Thu, 27 October 2011 15:15 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

In 3.7 all you should have to do is add all the jars from the report
engine download/reportengine/lib to your apps classpath and remove the
setEngineHome method. Any chance you could post your app?

Jason

On 10/27/2011 12:22 AM, queenie wrote:
> Hi,
>
> I am using ReportEngine in a standalone application. My application is
> packed with onejar and with birt 2.6 all working fine. When I was trying
> to generate report using 3.7.0 I got the following error:
> WARING: Failed to install plugin from onejar:lib/
> java.lang.ClassCastException: sun.misc.Launcher$AppClassLoader cannot be
> cast to com.simontuffs.onejar.JarClassLoader
>
> This error happened at Platform.startup( config ) method.
>
> I already removed config.setEngineHome().
>
> Please anyone can help me?
Previous Topic:Integration from Eclipse ReportViewer in a Swing application
Next Topic:complicated print form
Goto Forum:
  


Current Time: Thu Mar 28 22:26:06 GMT 2024

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

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

Back to the top