Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

com.fasterxml.jackson.databind.exc.MismatchedInputException #2

Open
rishabhjainbvp opened this issue May 22, 2019 · 8 comments
Open

Comments

@rishabhjainbvp
Copy link

rishabhjainbvp commented May 22, 2019

Hi @koushikkothagal

I am getting error:

com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of com.xyz.models.UserRating out of START_ARRAY token
at [Source: (PushbackInputStream); line: 1, column: 1]

I am at video 15 of your series.

https://www.youtube.com/watch?v=Dmvhe2cw-_k&list=PLqq-6Pq4lTTZSKAFG6aCDVDP86Qx4lNas&index=15

Please assist.

Note: I have the same code as you have in the video.

@smitpatel168
Copy link

Hey @rishabhjainbvp ....found any solution?? Because I am facing the same error too.

@rishabhjainbvp
Copy link
Author

rishabhjainbvp commented Jun 3, 2019 via email

@smitpatel168
Copy link

For me, I was returning List of Movies from Movie Resource instead of just a Movie object.
Thanks for response btw

@didi-rare
Copy link

hi @rishabhjainbvp Please close this issue if it has been resolved.

@RajputDeepaksingh
Copy link

I am getting same error in different applications..

@viktrine
Copy link

viktrine commented Mar 3, 2020 via email

@RajputDeepaksingh
Copy link

Try to add jaxb dependencies , which java version are you using?

On Tue, Mar 3, 2020, 09:48 Deepak Kumar @.***> wrote: I am getting same error in different applications.. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#2?email_source=notifications&email_token=AJGLOQONGKQELOXQN65FNGTRFSR37A5CNFSM4HOVQ7B2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENSJVCQ#issuecomment-593795722>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJGLOQO6JLUWXRJTEPHYCH3RFSR37ANCNFSM4HOVQ7BQ .

Java 8..

@viktrine
Copy link

viktrine commented Mar 4, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants