試圖運行谷歌驅動器樣本我總是得到下面解釋的錯誤。 我檢查了配置,它看起來正確。 已使用最新版本的appengine eclipse插件。 拋出的錯誤看起來好像方法:com.google.api.client.http.HttpRequestFactory.buildRequest 在運行時不可用。這是一個不推薦的方法,但在編譯時沒有錯誤。 有沒有人遇到過這種情況?谷歌驅動器信譽錯誤java.lang.NoSuchMethodError:com.google.api.client.http.HttpRequestFactory.buildRequest
012-12-16 08:52:01.050 Uncaught exception from servlet java.lang.NoSuchMethodError: com.google.api.client.http.HttpRequestFactory.buildRequest(Ljava/lang/String;Lcom/google/api/client/http/GenericUrl;Lcom/google/api/client/http/HttpContent;)Lcom/google/api/client/http/HttpRequest; at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.buildHttpRequest(AbstractGoogleClientRequest.java:290) at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:396) at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:328) at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:449) at it.contextsolutions.drived.CredentialMediator.getUserInfo(CredentialMediator.java:211) at it.contextsolutions.drived.CredentialMediator.getActiveCredential(CredentialMediator.java:312) at it.contextsolutions.drived.DrEditServlet.getCredentialMediator(DrEditServlet.java:98) at it.contextsolutions.drived.DrEditServlet.getClientId(DrEditServlet.java:143) at it.contextsolutions.drived.StartPageServlet.doGet(StartPageServlet.java:46) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166) "
這不能被讀取。請通過添加指向上述示例的鏈接來修改它,告訴您的環境並將代碼放在代碼引號中。 –
我試圖更新SDK到最新版本,並幫助。 – 2012-12-26 11:03:04