Caused by: java.lang.NoClassDefFoundError: Lorg/sl
生活随笔
收集整理的這篇文章主要介紹了
Caused by: java.lang.NoClassDefFoundError: Lorg/sl
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
報錯如下
Caused?by:?java.lang.NoClassDefFoundError:?Lorg/slf4j/Logger;at?java.lang.Class.getDeclaredFields0(Native?Method)at?java.lang.Class.privateGetDeclaredFields(Class.java:2291)at?java.lang.Class.getDeclaredFields(Class.java:1743)at?org.apache.catalina.util.Introspection.getDeclaredFields(Introspection.java:106)at?org.apache.catalina.startup.WebAnnotationSet.loadFieldsAnnotation(WebAnnotationSet.java:263)at?org.apache.catalina.startup.WebAnnotationSet.loadApplicationFilterAnnotations(WebAnnotationSet.java:112)at?org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:66)at?org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:405)at?org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:881)at?org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:376)at?org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)at?org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)at?org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5322)at?org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)...?10?moreIf you are using Log4j the minimum jar files needed is:
slf4j-api-1.4.3.jar
slf4j-log4j12-1.4.3.jar
log4j-1.2.8.jar
下載上面全部,注意版本,注意
slf4j-log4j12-1.4.3.jar
和其他2個的關系
轉載于:https://my.oschina.net/liangzhenghui/blog/260961
總結
以上是生活随笔為你收集整理的Caused by: java.lang.NoClassDefFoundError: Lorg/sl的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: python sys模块_Python
- 下一篇: table { border-colla