$ java -Dlog4j.configuration=file:///path/to/your/log4j2.xml -jar /path/to/your/jar_file.jar
Written to the console, you get
ERROR
I have solve this problem by configuring the build path. Here are the steps that I followed: In eclipse.
Now you should be able to run