【发布时间】:2014-11-05 21:43:03
【问题描述】:
我正在尝试为 Google App Engine 构建一个多模块应用程序。我正在从sample code 开发它。
我能够让我的应用程序在开发服务器中成功运行,但是当我尝试使用命令mvn appengine:update 上传到 Google App Engine 时遇到以下错误:
Error Details:
Nov 05, 2014 11:58:15 AM org.apache.jasper.JspC processFile
INFO: Built File: /guestbook.jsp
com.google.appengine.tools.admin.HttpIoException: Error posting to URL: https://appengine.google.com/api/appversion/create?module=nbsocialmetrics-frontend&app_id=nbsocialmetrics&version=1&
400 Bad Request
The first module you upload to a new application must be the 'default' module. Please upload a version of the 'default' module before uploading a version for the 'nbsocialmetrics-frontend' module. See the documentation for more information. Python: (https://developers.google.com/appengine/docs/python/modules/#Python_Uploading%20modules) Java: (https://developers.google.com/appengine/docs/java/modules/#Java_Uploading%20modules)
Unable to update app: Error posting to URL: https://appengine.google.com/api/appversion/create?module=nbsocialmetrics-frontend&app_id=nbsocialmetrics&version=1&
400 Bad Request
The first module you upload to a new application must be the 'default' module. Please upload a version of the 'default' module before uploading a version for the 'nbsocialmetrics-frontend' module. See the documentation for more information. Python: (https://developers.google.com/appengine/docs/python/modules/#Python_Uploading%20modules) Java: (https://developers.google.com/appengine/docs/java/modules/#Java_Uploading%20modules)
Please see the logs [/var/folders/dp/v_lw6kqx16bf7743hs5t9phc0000gn/T/appcfg4483555174170807292.log] for further information.
除了修改模块名称之外,我的设置与sample code几乎相同。
【问题讨论】:
标签: java google-app-engine maven