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.

ReflectionToStringBuilder

Empfohlene Antworten

Servus

Ich habe folgendens Problem.

Ich möchte den ReflectionToStringBuilder verwenden.

Soweit so gut. ich hab mir das commons-lang-2.4.jar - File runtergeladen und in den BuildPath (Library) eingefügt.

Dort ist er auch drin, kann man ja sehen wenn man die Referenced Libraries aufmacht

Trotzdem bekomme ich diese Fehlermeldung:

Exception in thread "main" javax.ejb.EJBException: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/apache/commons/lang/builder/ReflectionToStringBuilder

wäre super wenn mir jemand weiterhelfen könnte

Gruß Johnny

[...] runtergeladen und in den BuildPath (Library) eingefügt.

Der Build-Path deiner IDE vermute ich? Kompilieren tut das Ganze ohne Probleme?

Exception in thread "main" javax.ejb.EJBException: [...]

Führst du das Ganze innerhalb der IDE aus? Was ist das für eine Anwendung?

Gruß

Servus,

nachdem es sich scheinbar um eine Exception im Zusammenhang mit Enterprise Java Beans handelt: hast Du die commons-lib auch in Deiner EJB-Jar oder dem EAR bekannt gemacht?

Setz Dich mal mit dem Laufzeit-Klassenpfad einer J2EE Anwendung auseinander und schau Dir an, welche Möglichkeiten Du hast, hier Bibliotheken bekannt zu machen.

Peter

Danke für die Antworten

Musste dem JBoss noch die .jar Datei bekannt machen.

Gruß Johnny

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

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.