Getting NoClassDefFoundError orgapachelog4jLogger | Selenium Forum
V
Vinay Krishna Posted on 13/02/2019

Hello,

I tried running the same Test_Log4j code which you have in videos with log4j 1.2.17 jar with the same "log4j.properties" file in the video. and got the below error.

"NoClassDefFoundError : org/apache/log4j/Logger"

If i go to the above class, <org/apache/log4j/Logger>, in jar file. i see message "source not found". Can you pls exlpain me what  am i doing wrong here ?

 

Thanks

Vinay

 


A
Ashish Thakur Replied on 15/02/2019

Please cross check, weather you're using the correct jar or not.


V
Vinay Krishna Replied on 30/03/2019

thank you, this can be closed.