log4j:WARN No appenders could be found for logger (com.sshtools.j2ssh.transport.publickey.SshKeyPairFactory).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Process exitValue: 0
Process exitValue: 0

 

需要在代码里面使用语句加载log4j配置文件

DOMConfigurator.configure("conf/log4j.xml");

相关文章:

  • 2021-11-27
  • 2021-11-17
  • 2022-03-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-03
  • 2022-12-23
  • 2021-11-27
  • 2022-12-23
  • 2022-12-23
  • 2021-12-23
  • 2021-11-27
相关资源
相似解决方案