I have a jar of an application which i don't have the sources,and when i executed with java -cp app.jar class conf
i got this warning :
log4j:WARN No appenders could be found for logger (org.eclipse.jetty.util.log).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
I have read in this forum that i have to add log4j.properties in the classpath, since i don't have the sources i have tried this command :
java -cp app.jar:* class conf
but still the same warning are they any way to fix log4j problem without recompiling from the sources ?