Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sheenamo opened this issue Apr 21, 2022 · 1 comment

Comments

@sheenamo
Copy link

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
Copy link

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 :
a78daf2

More LF5 resources that were left in the dist were removed in 1.2.20
see commit f8f3382

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

  • your best move is to get rid of them in your dev/configuration
  • otherwise you need to reintroduce them by yourself for your need... Beware of potential security implication

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants