ClassNotFoundException: org.slf4j.LoggerFactory

后端 未结 10 1237
长发绾君心
长发绾君心 2020-11-28 11:53

I am trying to run GWT RequestFactory and facing this error:

ClassNotFoundException: org.slf4j.LoggerFactory

I have tried to download s

10条回答
  •  孤城傲影
    2020-11-28 12:11

    I had the same on Android. This is how i fixed it:

    including ONLY the file:

    slf4j-api-1.7.6.jar

    in my libs/ folder

    Having any additional slf4j* file, caused the NoClassDefFoundError.

    Obviously, the rest of the libs can be there (android-support-v4, etc)

    Versions: Eclipse Kepler 2013 06 14 - 02 29 ADT 22.3 Android SDK: 4.4.2

    Hope someone saves the time i wasted thanks to this!

提交回复
热议问题