本文介绍了JumpNote:未指定主类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Android / GoogleApp上完成了第一步,我正在尝试探索Jumpnote示例:

I'm doing my 1st steps in Android/GoogleApp, and I'm trying to explore the Jumpnote example:http://code.google.com/p/jumpnote/

我能够将Android和Appengine项目导入到但在运行Jumpnote-web部件(android运行良好)时遇到以下问题。

I was able to import the Android and Appengine projects to eclipse, but encountered the following issue when trying to run the Jumpnote-web part (android runs well).

运行Web部件时,出现错误未指定主类型其中AFAIK暗示该项目缺少主要功能。

When running the web part there is an error Main type is not specified which AFAIK implied that this project is missing a main function.

这确实适用于jumpnote示例,我需要手动添加它,或者我缺少其他东西?

Is that indeed the case for jumpnote example and I need to manually add it, or am I missing something else?

推荐答案


  1. 转到运行配置

  2. 选择JumpNoteWeb运行配置您在主选项卡中看到您的项目名称,并在其下方显示主类

  3. 在主类中放置com.google.gwt.dev.DevMode
  4. 现在应该运行

*当我遇到这个问题时,我还需要确保将src.shared文件夹放到我的项目中,并且必须更改我的构建顺序,以便应用程序引擎sdk,gwt sdk和jre首先构建

*When I had this problem I also need to make sure that I put the src.shared folder into my project and had to change my build order so the app engine sdk, gwt sdk, and jre would build first

这篇关于JumpNote:未指定主类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-16 09:56