Org.slf4j.impl.SimpleLoggerFactory cannot is cast to Ch.qos.logback.classic.LoggerContext

Source: Internet
Author: User

To view log information:

Slf4j:class path contains multiple slf4j bindings.  Slf4j:found Binding in [jar:file:/app/apache-tomcat-docbase/mmsi/web-inf/lib/slf4j-simple-1.6.4.jar!/org/slf4j/ Impl/staticloggerbinder.class]  slf4j:found binding in [jar:file:/app/apache-tomcat-docbase/mmsi/web-inf/lib/ Logback-classic-1.0.13.jar!/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.SimpleLoggerFactory]  

Explain:

SLF4J: Class path contains multiple SLF4J bindings

slf4j:--

slf4j:--

slf4j:--

SLF4J: The actual binding is the type [org.slf4j.impl.SimpleLoggerFactory]

Workaround, remove Slf4j-simple-1.6.4.jar

How to find the problem:

Org.slf4j.impl.SimpleLoggerFactory cannot is cast to Ch.qos.logback.classic.LoggerContext

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.