No appenders could be found for logger(log4j)?

前端 未结 30 2308
[愿得一人]
[愿得一人] 2020-11-22 08:16

I have put log4j to my buildpath, but I get the following message when I run my application:

log4j:WARN No appenders could be found for logger (dao.hsqlmanag         


        
30条回答
  •  花落未央
    2020-11-22 09:04

    I had this problem too. I just forgot to mark the resources directory in IntelliJ IDEA

    1. Rightclick on your directory
    2. Mark directory as
    3. Resources root

提交回复
热议问题