1

I just integrated this library and when I run the application, I got this error:

    java.lang.NoClassDefFoundError: Failed resolution of: Landroid/databinding/DataBinderMapper;
    Caused by: java.lang.ClassNotFoundException: Didn't find class "android.databinding.DataBinderMapper" on path: DexPathList[ ...

I haven't enabled data binding in my app's module. Should I enable it? Library also uses Kotlin. Is that the cause?

Malwinder Singh
  • 6,644
  • 14
  • 65
  • 103

1 Answers1

-1

Include the library at your Runtime classpath.

you can do something like this:

java -cp "Test.jar;lib/*" my.package.MainClass

Or if you are using tomcat, then add it at tomcat classpath: go though this link Including external jar in Tomcat ClassPath

Vaibhav Sharma
  • 1,573
  • 2
  • 19
  • 35