编译/构建Google App Engine Java项目

时间:2023-01-24 17:58:48

Good day everyone!

今天是个好日子!

I am a graduating student doing Google App Engine-Java Web Application.

我是Google App Engine-Java Web Application的毕业生。

My problem is I need to compile/build it so it will run upon click. I've been trying exporting it to a jar file however it outputs no main class.... problem.

我的问题是我需要编译/构建它,以便它在点击时运行。我一直在尝试将它导出到一个jar文件,但它不输出主类....问题。

I've been looking for other method but internet fails me or maybe i'm not pointing on the right track.

我一直在寻找其他方法,但互联网让我失望,或者我可能没有指向正确的轨道。

Here's my output whenever I'm using the command line:

每当我使用命令行时,这是我的输出:

编译/构建Google App Engine Java项目

its working fine when i'm using eclipse.

当我使用eclipse时它的工作正常。

Any leads? Sorry if my question is quite silly.

任何线索?对不起,如果我的问题很愚蠢。

Thanks in advance :))

提前致谢 :))

1 个解决方案

#1


0  

Firstly you should definitely consider updating your GAE SDK as it seems the defaultZoneTL field was removed from JDK 1.6 U31. Updating the GAE SDK should avoid that problem.

首先,你应该考虑更新你的GAE SDK,因为似乎从JDK 1.6 U31中删除了defaultZoneTL字段。更新GAE SDK应该避免这个问题。

If you can't do that then check http://code.google.com/p/googleappengine/issues/detail?id=6928 and try to implement one of the workarounds suggested. (Essentially launching with -Dappengine.user.timezone.impl=UTC OR -Dappengine.user.timezone=UTC)

如果您不能这样做,请查看http://code.google.com/p/googleappengine/issues/detail?id=6928并尝试实施建议的解决方法之一。 (基本上使用-Dappengine.user.timezone.impl = UTC或-Dappengine.user.timezone = UTC启动)

#1


0  

Firstly you should definitely consider updating your GAE SDK as it seems the defaultZoneTL field was removed from JDK 1.6 U31. Updating the GAE SDK should avoid that problem.

首先,你应该考虑更新你的GAE SDK,因为似乎从JDK 1.6 U31中删除了defaultZoneTL字段。更新GAE SDK应该避免这个问题。

If you can't do that then check http://code.google.com/p/googleappengine/issues/detail?id=6928 and try to implement one of the workarounds suggested. (Essentially launching with -Dappengine.user.timezone.impl=UTC OR -Dappengine.user.timezone=UTC)

如果您不能这样做,请查看http://code.google.com/p/googleappengine/issues/detail?id=6928并尝试实施建议的解决方法之一。 (基本上使用-Dappengine.user.timezone.impl = UTC或-Dappengine.user.timezone = UTC启动)