我正在使用 google drive api 和 app-engine 开发 Web 应用程序。我添加了所有必需的库和代码。但是当我尝试上传/复制文件时出现以下错误:
java.lang.NoSuchMethodError: com.google.appengine.api.urlfetch.HTTPResponse.getHeadersUncombined()Ljava/util/List;
at com.google.api.client.extensions.appengine.http.UrlFetchResponse.<init>(UrlFetchResponse.java:36)
at com.google.api.client.extensions.appengine.http.UrlFetchRequest.execute(UrlFetchRequest.java:75)
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:964)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:410)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:343)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:460)
at com.project.uf.server.services.GoogleDriveService.createDocument(GoogleDriveService.java:52)
我查看了 com.google.appengine.api.urlfetch.HTTPResponse 的源代码,发现 getHeadersUncombined 方法确实存在。请帮助解决这个问题。