Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Log4j configuration file not found

973794Dec 16 2017 — edited Dec 18 2017

Hi,

I added these libraries to my project:

  • log4j-1.2-api-2.7
  • log4j-api-2.7
  • log4j-core-2.7

and also I added Log4j2.xml in WEB-INF folder.

I created a simple java class for test and I get the following error:

ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.

I googled and what I got was classpath problem, but I thick WEb-INF folder is in jdeveloper ClassPath.

any help is appreciated.

This post has been answered by Timo Hahn on Dec 17 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 15 2018
Added on Dec 16 2017
5 comments
863 views