java.lang.NoClassDefFoundError without using Maven
Issue #12
resolved
I'm getting this error although I do not use Maven, I think I imported correctly since I'm using the exact same code as in Readme. I'm still pretty new in java, would be really nice if someone can help me.
Comments (3)
-
-
repo owner Thanks Pauline for this solution. I think it should work - the error is due to missing libraries. If you’re using Java without Maven/Gradle, you need to import all the required libraries by yourself. I’ll add it in the example code too. Thank you.
-
repo owner - changed status to resolved
- Log in to comment
I also encountered the same issue but managed to resolve it from this link https://stackoverflow.com/questions/43111504/retrofit2-java-lang-noclassdeffounderror-okhttp3-callfactory-in-java
You may be missing the following libraries: