Deployment on Tomcat: Constraint violation when resolving method “org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()Lorg/slf4j/ILoggerFactory;”

前端 未结 4 1426
醉梦人生
醉梦人生 2021-02-10 10:46

I\'m deploying Shibboleth IdP 3.1.1 on Tomcat 8.0.22, but I receive this error:

SEVERE [http-nio-8080-exec-13] org.apache.catalina.core.StandardContext.listenerS         


        
4条回答
  •  被撕碎了的回忆
    2021-02-10 11:11

    If you are using spring-boot-starter-web-1.5.1.RELEASE.jar,then you need to exclude jul-to-slf4j-1.7.22.jar,jcl-over-slf4j-1.7.22.jar.These two jar have conflict slf4j-api.

    
      maven-war-plugin
      2.6
              
                
        WEB-INF/lib/jcl-over-slf4j-1.7.22.jar,WEB-INF/lib/jul-to-slf4j-1.7.22.jar           
                
              
          
    

提交回复
热议问题