- 安装插件:GWT4NB
- 建立web应用程序,其中选择GWT框架,并选择GWT2.0.0,模块名:advang.Main
- 导入gwt-user.jar,否则会出现问题:Unable to find 'com/google/gwt/user/User.gwt.xml'
- 如果要用ExtGWT2.1,则将ExtGWT2.1下的resources目录拷贝到Web页下,在HTML页面中加入<link rel="stylesheet" type="text/css" href="resources/css/gxt-all.css" />,如果要使用图表,还需在HTML页面中加入<script language='javascript' src='resources/flash/swfobject.js'></script>,然后在模块文件(Main.gwt.xml)中加入<inherits name='com.extjs.gxt.ui.GXT'/>,然后将ExtGWT2.1下的gxt.jar添加到编译目录中,即库中。