Eclipse EEからAppspotにデプロイする方法については、このUdacityのチュートリアルに従っています。ここ HelloWorld AppをAppspotにデプロイできない
https://classroom.udacity.com/courses/ud859/lessons/1215898636/concepts/14551185740923#
は、私が手紙にそれに従っていると信じてhttps://docs.google.com/document/d/1EO3pQ53DQP3SW4LCnOLiUtgAKCWbqXVprBWj0TOlRUM/pub
...書き出さ命令ですが、私はそれがプロジェクトと主張したアプリケーションを更新しようとすると、存在しないと404エラーが表示されます。ただし、Google Cloud Platformに移動するとプロジェクトがあり、プロジェクトIDがわかります。
私が持っている、
は、プロジェクトのIDとなるのappengine-web.xmlのアプリケーションを変更ハロー世界一周-155900プロンプト付与App EngineのAppCfgを使用権限
をする際Google eclipseプラグインをインストールし、プロジェクトのオーナーである同じアカウントでGoogleにログインしてください
私は新しいApp Engineのプロジェクトを作成し、JDK 1.7.0_80とMaven 3.3.9
を使用し、ここで
は私のappengine-web.xmlのは
<?xml version="1.0" encoding="utf-8"?>
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
<application>hello-around-the-world-155900</application>
<version>1</version>
<threadsafe>true</threadsafe>
<system-properties>
<property name="java.util.logging.config.file" value="WEB-INF/logging.properties"/>
</system-properties>
</appengine-web-app>
である私のコンピュータを再起動していますここにコンソールログがあります。
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building helloworld 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> appengine-maven-plugin:1.9.4:update (default-cli) > package @ helloworld >>>
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ helloworld ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Users\Joes1\Downloads\ud859-master\Lesson_2\000_Hello_Endpoints\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ helloworld ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- appengine-maven-plugin:1.9.4:endpoints_get_discovery_doc (default) @ helloworld ---
[INFO]
[INFO] Google App Engine Java SDK - get endpoints discovery doc...
[INFO] Using Class Name:com.google.training.helloworld.HelloWorldEndpoints
[INFO] Executing endpoints Command=[get-discovery-doc, -cp, C:\Users\Joes1\Downloads\ud859-master\Lesson_2\000_Hello_Endpoints\target\helloworld-1.0-SNAPSHOT\WEB-INF\classes;C:\Users\Joes1\Downloads\ud859-master\Lesson_2\000_Hello_Endpoints\target/classes;C:\Users\Joes1\.m2\repository\com\google\appengine\appengine-api-1.0-sdk\1.9.4\appengine-api-1.0-sdk-1.9.4.jar;C:\Users\Joes1\.m2\repository\com\google\appengine\appengine-endpoints\1.9.4\appengine-endpoints-1.9.4.jar;C:\Users\Joes1\.m2\repository\javax\inject\javax.inject\1\javax.inject-1.jar, -o, C:\Users\Joes1\Downloads\ud859-master\Lesson_2\000_Hello_Endpoints\target/generated-sources/appengine-endpoints/WEB-INF, -w, C:\Users\Joes1\Downloads\ud859-master\Lesson_2\000_Hello_Endpoints\target/generated-sources/appengine-endpoints, -f, rest, com.google.training.helloworld.HelloWorldEndpoints]
Jan 16, 2017 4:15:02 PM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
INFO: Successfully processed C:\Users\Joes1\Downloads\ud859-master\Lesson_2\000_Hello_Endpoints\target/generated-sources/appengine-endpoints\WEB-INF/appengine-web.xml
API Discovery Document written to C:\Users\Joes1\Downloads\ud859-master\Lesson_2\000_Hello_Endpoints\target\generated-sources\appengine-endpoints\WEB-INF/helloworldendpoints-v1-rest.discovery
[INFO] Using Class Name:com.google.training.helloworld.HelloWorldEndpoints
[INFO] Executing endpoints Command=[get-discovery-doc, -cp, C:\Users\Joes1\Downloads\ud859-master\Lesson_2\000_Hello_Endpoints\target\helloworld-1.0-SNAPSHOT\WEB-INF\classes;C:\Users\Joes1\Downloads\ud859-master\Lesson_2\000_Hello_Endpoints\target/classes;C:\Users\Joes1\.m2\repository\com\google\appengine\appengine-api-1.0-sdk\1.9.4\appengine-api-1.0-sdk-1.9.4.jar;C:\Users\Joes1\.m2\repository\com\google\appengine\appengine-endpoints\1.9.4\appengine-endpoints-1.9.4.jar;C:\Users\Joes1\.m2\repository\javax\inject\javax.inject\1\javax.inject-1.jar, -o, C:\Users\Joes1\Downloads\ud859-master\Lesson_2\000_Hello_Endpoints\target/generated-sources/appengine-endpoints/WEB-INF, -w, C:\Users\Joes1\Downloads\ud859-master\Lesson_2\000_Hello_Endpoints\target/generated-sources/appengine-endpoints, -f, rpc, com.google.training.helloworld.HelloWorldEndpoints]
Jan 16, 2017 4:15:03 PM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
INFO: Successfully processed C:\Users\Joes1\Downloads\ud859-master\Lesson_2\000_Hello_Endpoints\target/generated-sources/appengine-endpoints\WEB-INF/appengine-web.xml
API Discovery Document written to C:\Users\Joes1\Downloads\ud859-master\Lesson_2\000_Hello_Endpoints\target\generated-sources\appengine-endpoints\WEB-INF/helloworldendpoints-v1-rpc.discovery
[INFO] Endpoints discovery doc generation done.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ helloworld ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Users\Joes1\Downloads\ud859-master\Lesson_2\000_Hello_Endpoints\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ helloworld ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ helloworld ---
[INFO]
[INFO] --- maven-war-plugin:2.4:war (default-war) @ helloworld ---
[INFO] Packaging webapp
[INFO] Assembling webapp [helloworld] in [C:\Users\Joes1\Downloads\ud859-master\Lesson_2\000_Hello_Endpoints\target\helloworld-1.0-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp webResources [C:\Users\Joes1\Downloads\ud859-master\Lesson_2\000_Hello_Endpoints\target/generated-sources/appengine-endpoints] to [C:\Users\Joes1\Downloads\ud859-master\Lesson_2\000_Hello_Endpoints\target\helloworld-1.0-SNAPSHOT]
[INFO] Copying webapp resources [C:\Users\Joes1\Downloads\ud859-master\Lesson_2\000_Hello_Endpoints\src\main\webapp]
[INFO] Webapp assembled in [51 msecs]
[INFO] Building war: C:\Users\Joes1\Downloads\ud859-master\Lesson_2\000_Hello_Endpoints\target\helloworld-1.0-SNAPSHOT.war
[INFO]
[INFO] <<< appengine-maven-plugin:1.9.4:update (default-cli) < package @ helloworld <<<
[INFO]
[INFO] --- appengine-maven-plugin:1.9.4:update (default-cli) @ helloworld ---
[INFO]
[INFO] Google App Engine Java SDK - Updating Application
[INFO]
[INFO] Retrieving Google App Engine Java SDK from Maven
[INFO] Updating Google App Engine Application
Jan 16, 2017 4:15:05 PM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Reading application configuration data...
Jan 16, 2017 4:15:05 PM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
INFO: Successfully processed C:/Users/Joes1/Downloads/ud859-master/Lesson_2/000_Hello_Endpoints/target/helloworld-1.0-SNAPSHOT\WEB-INF/appengine-web.xml
Jan 16, 2017 4:15:05 PM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed C:/Users/Joes1/Downloads/ud859-master/Lesson_2/000_Hello_Endpoints/target/helloworld-1.0-SNAPSHOT\WEB-INF/web.xml
Beginning interaction for module default...
0% Created staging directory at: 'C:\Users\Joes1\AppData\Local\Temp\appcfg2557241349360287827.tmp'
5% Scanning for jsp files.
20% Scanning files on local disk.
25% Initiating update.
com.google.appengine.tools.admin.HttpIoException: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=845830179642&version=1&
404 Not Found
This application does not exist (project_id=u'845830179642'). To create an App Engine application in this project, run "gcloud beta app create" in your console.
Unable to update app: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=845830179642&version=1&
404 Not Found
This application does not exist (project_id=u'845830179642'). To create an App Engine application in this project, run "gcloud beta app create" in your console.
Please see the logs [C:\Users\Joes1\AppData\Local\Temp\appcfg4148446068266547082.log] for further information.
誰かが私が見逃していることについて助言を与えることができますか? ing?ここには多くの変数があるようではないようで、多くの人がこのサービスを使用しているので、どこかで答えが必要です。
はのAppEngine-web-app>のタグを閉じて、もう一度試してください:
は、GCPプロジェクトとApp Engineアプリケーションを作成する方法についてのドキュメントを参照してください。 system-properties>タグも意図します。 –申し訳ありませんが、スタックオーバーフローエディタで正しくインデントしませんでした。それは今になっていたように見えるはずです。 –
あなたのappengine-web.xmlファイルですべてが正しいと思われます。私の推測では、プロジェクトをアップロードするために別のアカウント資格情報を使用している可能性があります。あなたはappcfgの許可をしたと言いました。正しいアカウントを使用していることを確認してください。 –