log4j:ERROR Category option " 1 " not a decimal integer.错误解决

 log4j.properties 的配置文件中:

log4j.appender.stdout.layout.ConversionPattern =  %d{ABSOLUTE} %5p %c{ 1 }:%L - %m%n

把{1}中的空格去掉。

原文地址:https://www.cnblogs.com/haimishasha/p/5711694.html