Hi, i want to write my own Moviedatabase application for Ubuntu 16.04. So i've downloaded the Movie Api(as jar-File) from Holger Brandl. I have already added the SLF4J-jar, but now i get this problem:
Exception in thread "main" info.movito.themoviedbapi.tools.MovieDbException: Failed to read configuration
at info.movito.themoviedbapi.TmdbApi.<init>(TmdbApi.java:58)
at info.movito.themoviedbapi.TmdbApi.<init>(TmdbApi.java:44)
at Main.main(Main.java:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
Caused by: java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/ObjectMapper
at info.movito.themoviedbapi.AbstractTmdbApi.<clinit>(AbstractTmdbApi.java:27)
at info.movito.themoviedbapi.TmdbApi.<init>(TmdbApi.java:54)
I have already used Google and but i cannot resolve the issue. The Api-Key should be the right one, the examples on the themoviedb.org are working without problems. Here is my code where my program crashed:
TmdbMovies movie = new TmdbApi("hereismykey").getMovies();
Can someone tell me where the problem is?
Thx! :-)
لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها
هل تريد تقييم او اضافة هذا العنصر للقائمة؟
لست عضو؟
رد بواسطة Travis Bell
بتاريخ نوفمبر 9, 2016 في 11:17 صباحا
Hi @buzz_lightzyear
Unfortunately, I don't use this library nor do I have any experience in Java but the best thing to probably do is create an issue on Holger's GitHub page. Hopefully he can answer you directly.
Cheers.
رد بواسطة buzz_lightzyear
بتاريخ نوفمبر 10, 2016 في 9:10 صباحا
Hey,
ok, thx i will do that :-)
Cheers