Logviewer throws exception NoClassDefFoundError: org/apache/log4j/Logger on CentOS 8
|
|
---|---|
Hi, After installing Tango 9.3.4 on a CentOS 8 computer I cannot get the logviewer app to work. It gives the following error: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/Logger at fr.esrf.logviewer.Main.<clinit>(Main.java:45) Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Logger at java.net.URLClassLoader.findClass(URLClassLoader.java:382) at java.lang.ClassLoader.loadClass(ClassLoader.java:418) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) … 1 more I have installed log4j from log4j12-1.2.17-22.module_el8.0.0+30+832da3a1.noarch but that does not help. What do I need to do to get the logviewer working? Thanks, Andre |
|
|
---|---|
Hi Andre, How did you install the logviewer on your computer? How do you start it?
Rosenberg's Law: Software is easy to make, except when you want it to do something new.
Corollary: The only software that's worth making is software that does something new. |
|
|
---|---|
Hi Reynald, I installed logviewer by building and installing Tango 9.3.4 from the sources. I used this command line:
I just start logviewer directly from the command line. |