Zum Inhalt springen

Empfohlene Beiträge

Geschrieben

Hallo,

ich habe ein Java-Applet (Swing und AWT) mit NetBeans erstellt. Wenn ich dieses mit NetBeans starte gibt es keine Probleme, aber wenn ich dieses mit einen Browser (Firefox oder IE) starte kommt folgende Meldung in der Java-Console und das Applet wird nicht ausgefuehrt.


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-459" 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)

java.lang.NullPointerException

	at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)

	at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)

	at sun.applet.AppletPanel.run(Unknown Source)

	at java.lang.Thread.run(Unknown Source)


Kennt jemand eine Loesung?

Geschrieben

Javadoc-Auszug für java.lang.NoClassDefFoundError:

"Thrown if the Java Virtual Machine or a ClassLoader instance tries to load in the definition of a class (as part of a normal method call or as part of creating a new instance using the new expression) and no definition of the class could be found.
The searched-for class definition existed when the currently executing class was compiled, but the definition can no longer be found.

Kennt jemand eine Loesung?
Ja, die Klasse "org.jdesktop.layout.GroupLayout" mit in den Classpath aufnehmen.

Erstelle ein Benutzerkonto oder melde Dich an, um zu kommentieren

Du musst ein Benutzerkonto haben, um einen Kommentar verfassen zu können

Benutzerkonto erstellen

Neues Benutzerkonto für unsere Community erstellen. Es ist einfach!

Neues Benutzerkonto erstellen

Anmelden

Du hast bereits ein Benutzerkonto? Melde Dich hier an.

Jetzt anmelden

Fachinformatiker.de, 2024 by SE Internet Services

fidelogo_small.png

Schicke uns eine Nachricht!

Fachinformatiker.de ist die größte IT-Community
rund um Ausbildung, Job, Weiterbildung für IT-Fachkräfte.

Fachinformatiker.de App

Download on the App Store
Get it on Google Play

Kontakt

Hier werben?
Oder sende eine E-Mail an

Social media u. feeds

Jobboard für Fachinformatiker und IT-Fachkräfte

×
×
  • Neu erstellen...