本文介绍了Google App Engine Maven插件:无法启动devserver的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图将我的Eclipse GAE项目迁移到使用Maven和Google App Engine Maven插件。

一切看起来都设置正确,测试所有通过,但是当我试图运行devserver我得到以下输出:





你可以看到源代码,包括我的pom。 xml文件,在这里:



任何指导都将不胜感激。

解决方案

我认为这是一个Java版本问题。当前插件通过查找$ {JAVA_HOME}来检测java可执行文件,您的JAVA_HOME指向哪里?另请参阅来源:


I'm trying to migrate my Eclipse GAE project to use Maven and the Google App Engine Maven plugin instead.

Everything appears to be set up correctly, the tests all pass, however when I attempt to run the devserver I get the following output:

https://gist.github.com/sanity/5181682

You can see the source code, including my pom.xml file, here: https://github.com/sanity/LastCalc/tree/maven-conversion

Any guidance would be greatly appreciated.

解决方案

I think this is a Java version issue.The current plugin detects java executable by looking for ${JAVA_HOME}, where is your JAVA_HOME pointing to? See also the source:https://code.google.com/p/appengine-maven-plugin/source/browse/src/main/java/com/google/appengine/DevAppServerRunner.java

这篇关于Google App Engine Maven插件:无法启动devserver的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-28 19:15