文档首页> MapReduce服务 MRS> 开发指南(LTS版)> Manager管理开发指南> Manager应用开发常见问题> 运行Manager应用报错“WARN No appenders could be found for logger”
更新时间:2024-06-05 GMT+08:00
分享

运行Manager应用报错“WARN No appenders could be found for logger”

问题

运行应用程序时,操作失败,日志显示如图1所示。

图1 操作失败日志

回答

查看工程的“bin”目录下是否有编译过的“log4j.properties”,如果没有,则添加编译路径。

  1. 在IntelliJ IDEA中选择“File > Project Structure > Modules”,然后将内含“log4j.properties”“UserInfo.properties”“conf”文件夹添加未Source Folders。
  2. 重新编译程序。
分享:

    相关文档

    相关产品