很多年前,我使用“ appengine-java-sdk-1.9.22 ”构建使用某些数据存储区的Web应用程序
现在,我在eclipse上更新了我的应用,并在部署后说:
Unable to update: com.google.appengine.tools.admin.HttpIoException: Error posting to URL: https://appengine.google.com/api/appversion/deploy?app_id=speaklikewater&version=1& 401 Unauthorized Your version of the App Engine SDK is out-of-date. Please update your SDK at https://cloud.google.com/appengine/docs/standard/java/download#appengine_sdk and your Maven plugin, if necessary, according to the instructions at https://cloud.google.com/appengine/docs/standard/java/tools/maven at com.google.appengine.tools.admin.OAuth2ServerConnection.doHandleSendErrors(OAuth2ServerConnection.java:65) at com.google.appengine.tools.admin.AbstractServerConnection.send1(AbstractServerConnection.java:373) at com.google.appengine.tools.admin.AbstractServerConnection.send(AbstractServerConnection.java:317) at com.google.appengine.tools.admin.AbstractServerConnection.post(AbstractServerConnection.java:296) at com.google.appengine.tools.admin.LoggingClientDeploySender.send(LoggingClientDeploySender.java:47) at com.google.appengine.tools.admin.AppVersionUpload.send(AppVersionUpload.java:1134) at com.google.appengine.tools.admin.AppVersionUpload.deploy(AppVersionUpload.java:982) at com.google.appengine.tools.admin.AppVersionUpload.commit(AppVersionUpload.java:865) at com.google.appengine.tools.admin.AppVersionUpload.uploadFilesTransaction(AppVersionUpload.java:223) at com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.java:197) at com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:580) at com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:65) at com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngineBridgeImpl.java:433) at com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(DeployProjectJob.java:158) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
现在,我使用了最近的“ sdk appengine-java-sdk-1.9.54”(请参见下图),但仍然遇到相同的错误
注意: 我通过转到Window ==> Preferences ==> Google ===> App Engine并选择了“ appengine-java-sdk-1.9.54”来更改为新的SDK
如果我使用“ appengine-java-sdk-1.9.64”,则会收到此错误“内部错误”:
因此,我决定使用“ appengine-java-sdk-1.9.54”,因为有些人也有“内部错误”,并且他们尝试使用较低版本并且有效。
我不确定该如何解决。