I have added log4j.properties file in source folder of project but I am still getting a log4j:error.
log4j.properties
Here is my Log4j.properties file:
Try executing your command with sudo(Super User), this worked for me :) Run : $ sudo your_command After than enter the super user password. Thats All..