Log4j2 configuration - No log4j2 configuration file found

前端 未结 6 630
说谎
说谎 2020-12-07 14:19

Lately I decided to learn how to use the log4j2 logger. I downloaded required jar files, created library, xml comfiguration file and tried to use it. Unfortunately i get thi

6条回答
  •  余生分开走
    2020-12-07 14:58

    Eclipse will never see a file until you force a refresh of the IDE. Its a feature! So you can put the file all over the project and Eclipse will ignore it completely and throw these errors. Hit refresh in Eclipse project view and then it works.

提交回复
热议问题