log4j:WARN Please initialize the log4j system properly
配置文件
og4j.rootLogger=WARN,stdout log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - %m%nbug截图
解决方法在主函数加入
BasicConfigurator.configure();