java.lang.ClassNotFoundException: com.google.api.client.json.JsonFactory

后端 未结 3 705
别跟我提以往
别跟我提以往 2021-01-22 11:36

I want to create a web application running on Tomcat 7.0 with JRE JavaSE-1.6 on osx 10.8. I am using a tutorial from the developers site and the error occurs when I try to call

相关标签:
3条回答
  • 2021-01-22 12:15

    I just fixed this by changing the following lines:

    Original: import com.google.api.client.json.jackson.JacksonFactory;

    Modified: import com.google.api.client.json.jackson2.JacksonFactory;

    0 讨论(0)
  • 2021-01-22 12:25

    From this page here, it says you need 3 libraries: 1) The Generated Java client library for BigQuery 2) The Google HTTP Client Library for Java 3) The Google OAuth Client Library for Java

    Do you have them all? It sounds like you have #2, but it sounds like you're missing the google HTTP client.

    0 讨论(0)
  • 2021-01-22 12:33

    I had a similar problem and solved it by manually adding the required JAR's to my WEB-INF\lib folder outside Eclipse.

    0 讨论(0)
提交回复
热议问题