LOG-induced Stackoverflowerror

Source: Internet
Author: User
Tags i18n log4j



LOG-induced Stackoverflowerror


Slf4j:class path contains multiple slf4j bindings.
Slf4j:found Binding in [Jar:file:/logging/hcreport-datainf-i18n/lib/slf4j-log4j12-1.7.8.jar
!/org/slf4j/impl/staticloggerbinder.class]
Slf4j:found Binding in [JAR:FILE:/LOGGING/HCREPORT-DATAINF-I18N/LIB/LOGBACK-CLASSIC-1.1.7.J
Ar!/org/slf4j/impl/staticloggerbinder.class]
Slf4j:see http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
Slf4j:actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Exception in thread "main" Java.lang.StackOverflowError
At Org.slf4j.LoggerFactory.getILoggerFactory (loggerfactory.java:386)
At Org.slf4j.LoggerFactory.getLogger (loggerfactory.java:340)
At Org.apache.log4j.category.<init> (category.java:57)
At Org.apache.log4j.logger.<init> (logger.java:37)
At Org.apache.log4j.Log4jLoggerFactory.getLogger (log4jloggerfactory.java:43)
At Org.apache.log4j.LogManager.getLogger (logmanager.java:45)
At Org.slf4j.impl.Log4jLoggerFactory.getLogger (log4jloggerfactory.java:66)
At Org.slf4j.LoggerFactory.getLogger (loggerfactory.java:341)
At Org.apache.log4j.category.<init> (category.java:57)
At Org.apache.log4j.logger.<init> (logger.java:37)
At Org.apache.log4j.Log4jLoggerFactory.getLogger (log4jloggerfactory.java:43)
At Org.apache.log4j.LogManager.getLogger (logmanager.java:45)
At Org.slf4j.impl.Log4jLoggerFactory.getLogger (log4jloggerfactory.java:66)
At Org.slf4j.LoggerFactory.getLogger (loggerfactory.java:341)


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.