java - 项目无法在 Google Cloud Tools for Eclipse 上启动

标签 java maven google-app-engine google-plugin-eclipse

我一直在尝试从 Google Eclipse 插件切换到 Cloud Tools for Eclipse,但无法获得有效的启动配置。

当我尝试启动该项目时,进度显示

Preparing launch delegate...: Launching delegate...

直到最终中止

Server App Engine Standard at localhost (2) was unable to start within 240 seconds. If the server requires more time, try increasing the timeout in the server editor.

这是 App Engine 上使用 Java 的 Maven 项目。

我创建了一个 hello world maven 项目,可以正常启动。

当我检查 hello world 项目的 org.eclipse.wst.server.core/tmpX 文件夹时,我看到各种文件和目录,例如 index.jspMETA-INFWEB-INF,其中 WEB-INF/lib 包含 Maven 依赖项 jar。

我的项目的同一文件夹仅包含 WEB-INF/classes,其中包含奇怪的文件集合,包括另一个带有空 lib 的 WEB-INF

我正在 Oxygen Release (4.7.0) 上运行“Google Cloud Platform for Eclipse 4.5 及更高版本 1.2.0.201706082053”,尽管自从我在 2016 年底首次尝试迁移以来这些问题一直存在

有什么建议吗?

最佳答案

tomcat在240秒内无法启动,进入服务器 View 双击你的服务器,可以看到服务器属性窗口右上角的max Time out选项,将其改为更240 秒。并检查您的配置。

关于java - 项目无法在 Google Cloud Tools for Eclipse 上启动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45471056/

相关文章:

java - 抓取 HTML 表格数据

amazon-web-services - 结合使用AWS EMR Artifact 存储库和构建工具

java - 如何在 servlet 中处理 Google Web Toolkit 发送的表单

Java无法将具有实现类型的集合的集合转换为接口(interface)类型

java - Guice:使用@Named 创建对象

maven - Log4j2 找不到我的配置文件

google-app-engine - google app engine datastore Go Query with "in"operator

google-app-engine - 无法在 Google 应用引擎启动器中运行 helloworld

java - 赋值运算符重载 Java

java - fork 过程 org/apache/commons/io/FileUtils org.apache.maven.surefire.booter.SurefireBooterForkException 中出现错误