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! :-)
Can't find a movie or TV show? Login to create it.
გსურთ შეაფასოთ ან დაამატოთ ეს ელემენტი სიაში?
არა წევრი?
Reply by Travis Bell
on ნოემბერი 9, 2016 at 11:17 AM
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.
Reply by buzz_lightzyear
on ნოემბერი 10, 2016 at 9:10 AM
Hey,
ok, thx i will do that :-)
Cheers