Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: java.lang.NoClassDefFoundError:

  1. #1
    Join Date
    Mar 2003

    Default java.lang.NoClassDefFoundError:

    Hi Taqua

    I'm about to bail on jfreereport. I've coded it and it runs fine from within
    my IDE (jbuilder 7 pro), However when I load it from an applet
    I get the following message.

    at$(Unknown Source)
    at<clinit>(Unknown Source)
    at<init>(Unknown Source)
    at par.mod.TstPreview.createReport(
    at par.mod.HyperLinkPanel.jBttnDtl_actionPerformed(
    at par.mod.HyperLinkPanel$
    at java.awt.event.InvocationEvent.dispatch(
    at java.awt.EventQueue.dispatchEvent(
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy

    What am I doing wrong ??

  2. #2
    Join Date
    Mar 2003



    your JBuilder is not smart enough to detect dynamicly loaded classes.

    The class is loaded via "Class.forName()", and therefore not referenced directly. JBuilder does only include files which are referenced from one of the class files of the project.

    I guess you will also miss most of the functions, the resource bundle classes and the export plugins of the Preview package.

    If there is an option to include all class files in the Jar, then try it, else you would have to use an other build/packaging method (ANT for instance).

    Have more fun,
    said Thomas

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.