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에 응용 프로그램을 변경 안녕하세요 - 세계 일주 - 155,900 프롬프트 부여 앱 엔진 appcfg 권한
을하면Google 이클립스 플러그인을 설치하고 프로젝트 소유자와 동일한 계정으로 Google에 로그인하십시오.
내에서 appengine-web.xml을 내 컴퓨터에 여기
하는 새로운 앱 엔진 프로젝트 생성 JDK 1.7.0_80 및 받는다는 3.3.9
를 사용하여 다시 시작하고
<?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.
누군가가 내가 놓친 것에 대해 조언을 해 줄 수 있습니까? 보내고있어? 많은 변수가있는 것 같지 않고 많은 사람들이이 서비스를 사용하므로 어딘가에 답이 있어야합니다.
가에서 appengine-웹 응용 프로그램> 태그를 닫고 다시 시도 :
는 GCP 프로젝트와 앱 엔진 응용 프로그램을 만드는 방법에 대한 설명서를 참조하십시오. system-properties> 태그도 의도합니다. –죄송합니다. 스택 오버플로 편집기에서 제대로 들여 쓰지 않았습니까? 그것이 지금 예정되었던 것처럼 보일 것임에 틀림 없다. –
appengine-web.xml 파일을 사용하여 모든 것이 올바르게 보입니다. 내 생각 엔 다른 계정 자격 증명을 사용하여 프로젝트를 업로드하고있는 것 같습니다. appcfg 권한을 부여했다고 언급 한 것조차 생각합니다. 올바른 계정을 사용하고 있는지 확인하십시오. –