The Movie Database Support

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! :-)

2 replies (on page 1 of 1)

Jump to last post

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.

Hey,

ok, thx i will do that :-)

Cheers

Can't find a movie or TV show? Login to create it.

ყველგან

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

მედიის გვერდზე

b go back (or to parent when applicable)
e go to edit page

ტელევიზიის სეზონების გვერდზე

(right arrow) go to next season
(left arrow) go to previous season

ტელევიზიის ეპიზოდების გვერდზე

(right arrow) go to next episode
(left arrow) go to previous episode

გამოსახულებების გვერდზე

a open add image window

რედაქტირების ყველა გვერდზე

t open translation selector
ctrl+ s submit form

დისკუსიების გვერდზე

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

გსურთ შეაფასოთ ან დაამატოთ ეს ელემენტი სიაში?

ავტორიზაცია