6

I am attempting to import com.google.api.client.json.jackson.JacksonFactory, however I keep getting the "Cannot resolve symbol 'jackson' error. Has anyone else gotten this error while attempting to get this library? Maybe Google is deprecating it?

Thanks!

3

2 Answers 2

11

Use this class for JacksonFactory instead of the previous one.

com.google.api.client.json.jackson2.JacksonFactory 
Sign up to request clarification or add additional context in comments.

1 Comment

What I ended up doing was using JsonFactory that was inside json instead of even going into Jackson, it worked fine.
0

how are you setting this library, pleas take a look at these links:

Setup: https://developers.google.com/google-apps/calendar/setup

Tutorial: https://developers.google.com/google-apps/calendar/instantiate

1 Comment

Like it shows in the setup and tutorial you have posted, I am using the exact line: import com.google.api.client.json.jackson.JacksonFactory; On that line itself that imports the library, it says that it "Cannot resolve symbol 'jackson' ....On that line itself, not in the code.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.