检查一下log4j2相关的版本,参考[1] [1] https://stackoverflow.com/questions/50970960/facing-issue-with-log4j2-java-lang-exceptionininitializererror
[email protected] <[email protected]> 于2020年8月24日周一 上午11:18写道: > SQL提交会出现这种问题??? > Caused by: java.lang.IllegalArgumentException: Initial capacity must be at > least one but was 0 > at > org.apache.logging.log4j.util.SortedArrayStringMap.<init>(SortedArrayStringMap.java:102) > at > org.apache.logging.log4j.core.impl.ContextDataFactory.createContextData(ContextDataFactory.java:109) > at > org.apache.logging.log4j.core.impl.ContextDataFactory.<clinit>(ContextDataFactory.java:57) > ... 29 more > > > > [email protected] >
