Google App Engine无法在Eclipse启动



我在Eclipse启动Google App Engine时遇到了麻烦。

我通过选择" Hello World Template"。然后,我尝试通过右键单击包装浏览器中的项目并选择"运行为> App Engine"。

来启动该应用程序。

该应用程序无法启动。以下堆栈跟踪出现在错误日志中:

java.lang.NullPointerException
    at com.google.cloud.tools.eclipse.appengine.localserver.launching.LaunchHelper.findExistingServers(LaunchHelper.java:110)
    at com.google.cloud.tools.eclipse.appengine.localserver.launching.LaunchHelper.launch(LaunchHelper.java:61)
    at com.google.cloud.tools.eclipse.appengine.localserver.launching.LocalAppEngineStandardLaunchShortcut.launch(LocalAppEngineStandardLaunchShortcut.java:44)
    at org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.launch(LaunchShortcutExtension.java:431)
    at org.eclipse.debug.internal.ui.actions.LaunchShortcutAction.run(LaunchShortcutAction.java:74)
    at org.eclipse.debug.internal.ui.actions.LaunchShortcutAction.runWithEvent(LaunchShortcutAction.java:123)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113)

这是我的会话数据:

eclipse.buildId=4.5.2.M20160212-1500
java.version=1.8.0_111
java.vendor=Oracle Corporation

我想念什么?获取成功启动的应用程序需要另一个步骤吗?

npes永远不会发生,并且从查看代码,看来您具有损坏的服务器定义。您可以打开服务器查看并删除任何损坏的服务器,然后重试。

但是,在这样做之前,如果您不介意,我们首先感谢您提供有关此GitHub问题的更多详细信息,其中包括您的.../.metadata/.plugins/org.eclipse.wst.server.core/servers.xml文件, servers of the servers view view和确切的屏幕截图复制步骤,以便我们可以修复它。

最新更新