发布到URL的错误:appengine.google.com/api/appversion/create - 404 [英] Error posting to URL: appengine.google.com/api/appversion/create - 404
问题描述
我从的AppEngine-CLOUDSQL-本机的mysql-的Hibernate JPA的演示Java的。我的项目包括其他Web服务,Java,JPA和Hibernate。
本地一切(其余的webservices和数据库连接)工作完美。但是,当我尝试部署代码时...
我的问题与发布到URL的错误:appengine.google.com/api/appversion/create - 404 。
我尝试了所有可能的方式(列入 任何人都可以帮助我吗? 解决方案: 运气,但现在我可以使用以下步骤来解决它: 您必须在eclipse中登录一个谷歌账户。 您必须配置云端sql(如果您使用的是数据库 - mysql 之后运行maven命令,如 权限。 (这是我坚持的地方)。在 在运行 PS: 已完成意味着在原始文章中我已经完成这些步骤,但只是想让你知道所有可能的步骤。 I have created a maven google app engine project from appengine-cloudsql-native-mysql-hibernate-jpa-demo-java. My project includes Rest webservices, Java, JPA and Hibernate. Locally everything (rest webservices and database connection) working perfect. But when I try to deploy my code ... I have a problem exactly same as Error posting to URL: appengine.google.com/api/appversion/create - 404. I tried all possible ways (enlisted in above link) to solve it but unable to solve it. Anybody can help me? Solution: I have gone through many links but no luck, but now I am able to solve it using following step(s) You must be signed in in the eclipse with a google account.
(already done) You must configure cloud sql (if you are using database - mysql
in my case) (already done) After that run maven command something like Permissions. ( This is where I stuck ). Open the project on
google app engine https://console.cloud.google.com/ . Goto IAM &
Admin, select project then permissions. After that you see that
your email id (say After this run P.S.: already done means that in original post I have already done these steps, but just wanted to let you know all possible steps. 这篇关于发布到URL的错误:appengine.google.com/api/appversion/create - 404的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
(已完成)
) )
mvn appengine:update
(已完成)
google app引擎上打开项目 https://console.cloud.google.com/。转到 IAM&
Admin ,选择项目,然后选择权限。之后,您会看到
您的电子邮件ID(例如 abcd@gmail.com
)将被列为所有者,另一个(虚拟)电子邮件
地址如 664581334627-compute@developer.gserviceaccount.com
和/或 664581334627@cloudservices.gserviceaccount.com
。给出项目编辑器和 App
Engine Deployer 的3个电子邮件地址的所有
。
mvn appengine:update
之后,您会看到没有异常/错误。您的代码将成功部署。
mvn appengine:update
(already done)abcd@gmail.com
) will be listed as an owner and another(dummy) email
address like 664581334627-compute@developer.gserviceaccount.com
and/or 664581334627@cloudservices.gserviceaccount.com
. Give all
above 3 email addresses rights of Project Editor and App
Engine Deployer.mvn appengine:update
and you will see there will be no exception/error. And you code will be deployed successfully.