Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Probleme beim aufruf von Klassen aus JAR

Empfohlene Antworten

Hallo,

ich hab folgendes Problem, vieleicht kann mir einer von euch da helfen. Mein Java Proggi benutzt die Look And Feels Kunststoff und Metouia. Beide liegen als jar Datei vor und sind auch im CLASSPATH eingetragen. Wenn ich mein Programm compiliere und starte funktioniert alles wunderbar. Nachdem ich mein Programm aber in eine JAR Datei verpackt habe bekomme ich beim Start die Meldung

Exception in thread "main" java.lang.NoClassDefFoundError: net/sourceforge/mlf/m

etouia/MetouiaLookAndFeel

Keine Ahnung was da schief läuft... Jeder Tip ist willkommen.

Grüsse

Timo

Guck dir mal das jar-file an. Stehen da vielleicht absolute Pfade drin ???

Nein, die sind schön relativ, so nach dem Motto:

de/xxx/fff

Timo

und das Jar-File ist auch mit im Classpath?? (Explizit angegeben - nicht einfach nur in einem der Verzeichnisse?)

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.