【发布时间】:2014-03-12 01:04:05
【问题描述】:
在尝试从 netbeans 部署我的 google app engine 应用程序时,我收到以下错误:
com.google.appengine.tools.admin.HttpIoException: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=programworks&version=1&
400 Bad Request
Java 6 applications are prevented from being deployed to Google App Engine from any version of the SDK, including older ones. If you need to continue to deploy Java 6 applications for compatibility reasons, you can request that your application be whitelisted for Java 6 deployment by visiting http://goo.gl/ycffXq.
Unable to update app: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=programworks&version=1&
400 Bad Request
Java 6 applications are prevented from being deployed to Google App Engine from any version of the SDK, including older ones. If you need to continue to deploy Java 6 applications for compatibility reasons, you can request that your application be whitelisted for Java 6 deployment by visiting http://goo.gl/ycffXq.
这个错误是怎么回事?我使用java 7 作为我的图书馆。
【问题讨论】:
-
查看项目属性,分类来源,页面底部有一个Source/Binary Format选择器。那一个也设置为 1.7 吗?
-
@fvu 设置后出现同样的错误。
-
@fvu 我之前能够部署,但现在遇到了问题。
-
您使用的是什么版本的 google app engine sdk?
-
@fvu
appengine java sdk 1.6.6
标签: java google-app-engine jakarta-ee netbeans