1 Reply Latest reply on May 8, 2006 3:19 PM by Petr Jiricka

    NoClassDefFoundError in GroupLayout on browsing applet.

    Nigel Hutchison Newbie

      I have a simple swing applet in NB5.5 preview included in a web application. On deploying to Jboss and browsing in IE6, The applet will not display. The Java console contains the following:

      java.lang.NoClassDefFoundError: org/jdesktop/layout/GroupLayout$Group
      at java.lang.Class.getDeclaredConstructors0(Native Method)
      at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
      at java.lang.Class.getConstructor0(Unknown Source)
      at java.lang.Class.newInstance0(Unknown Source)
      at java.lang.Class.newInstance(Unknown Source)
      at sun.applet.AppletPanel.createApplet(Unknown Source)
      at sun.plugin.AppletViewer.createApplet(Unknown Source)
      at sun.applet.AppletPanel.runLoader(Unknown Source)
      at sun.applet.AppletPanel.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      Exception in thread "Thread-4" java.lang.NullPointerException
      at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
      at sun.plugin.AppletViewer.showAppletException(Unknown Source)
      at sun.applet.AppletPanel.runLoader(Unknown Source)
      at sun.applet.AppletPanel.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

      Can anyone advise on the cause and maybe suggest a fix please. Thanks.