【发布时间】:2017-12-31 18:41:56
【问题描述】:
我正在从 Java7 迁移到 Java8,并从旧的 GAE 插件迁移到新的 Cloud Tools 插件。
我认为我已经正确设置了它 - 但是当我尝试运行应用程序时,我得到了 403。当我查看属性的 Google Cloud Platform 部分时,唯一的选项是“App Engine 部署”当我打开它时,它告诉我“未找到项目”。
我已在 Eclipse 中登录 Google。当我查看https://console.cloud.google.com/cloud-resource-manager 时,它显示了两个项目(其中一个是正确的)。
控制台显示如下:
2017-12-31 18:40:37.513:INFO::main: Logging initialized @2741ms
2017-12-31 18:40:38.073:INFO:oejs.Server:main: jetty-9.3.18.v20170406
2017-12-31 18:40:41.859:INFO:oeja.AnnotationConfiguration:main: Scanning elapsed time=3321ms
2017-12-31 18:40:42.498:INFO:oejsh.ContextHandler:main: Started c.g.a.t.d.j.DevAppEngineWebAppContext@25bcd0c7{/,file:///C:/Users/andre_000/eclipse-workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/Postr/,AVAILABLE}{C:\Users\andre_000\eclipse-workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\Postr}
2017-12-31 18:40:42.520:INFO:oejs.AbstractConnector:main: Started NetworkTrafficSelectChannelConnector@5db4c359{HTTP/1.1,[http/1.1]}{localhost:8080}
2017-12-31 18:40:42.522:INFO:oejs.Server:main: Started @7751ms
Dec 31, 2017 6:40:42 PM com.google.appengine.tools.development.AbstractModule startup
INFO: Module instance default is running at http://localhost:8080/
Dec 31, 2017 6:40:42 PM com.google.appengine.tools.development.AbstractModule startup
INFO: The admin console is running at http://localhost:8080/_ah/admin
Dec 31, 2017 6:40:42 PM com.google.appengine.tools.development.DevAppServerImpl doStart
INFO: Dev App Server is now running
我错过了什么?
【问题讨论】:
标签: java eclipse google-app-engine google-plugin-eclipse