qos-ch / reload4j

reload4j is a drop-in replacement for log4j 1.2.17
Apache License 2.0
148 stars 22 forks source link

Reload4j doesnot have this package org.apache.log4j.lf5.viewer.categoryexplorer #48

Open sheenamo opened 2 years ago

sheenamo commented 2 years ago

Hi,

Currently I have updated my project from log4j 1.7 to reload4j1.9 everything works fine but one functionality breaks Exception in thread "AWT-EventQueue-2" java.lang.NoClassDefFoundError: org/apache/log4j/lf5/viewer/categoryexplorer/TreeModelAdapter

I have checked and found that reload doesn't contain this package Any help will be appreciated

OlivierJaquemet commented 2 years ago

LF5 package was voluntarly removed in 1.2.18.2

See full release note here : https://reload4j.qos.ch/news.html

2022-01-21 - Release of reload4j 1.2.18.2 [...] • The LF5 package was removed with no replacement.

corresponding commit : https://github.com/qos-ch/reload4j/commit/a78daf22ae0f3e986c4020c094e38d4d0f4f7fbc

More LF5 resources that were left in the dist were removed in 1.2.20 see commit https://github.com/qos-ch/reload4j/commit/f8f3382db330b59cb49ab545f000707633971f54

If you were relying on those classes in your dev/confiugration

If you were not using those classes, test the 1.2.20 in case the exception occured due ton automatic configuration from resources that were left.