2014-03-31 18 views
2

我叫AwesomesmartGWTUIProject从 javacodegeeks智能GWT应用程序显示任何错误

智能GWT应用例如

它的包装是com.javacodegeeks.smartgwt.appui

在Eclipse,当我尝试运行它作为一个web应用程序出现以下错误

In order for your application to run correctly, you will need to include these tags in your host page directly. In order to avoid this error, you will need to remove the script tags from the gwt.xml file, or add this property to the gwt.xml file: <set-configuration-property name='xsiframe.failIfScriptTag' value='FALSE'/> 
[ERROR] shell failed in doSlowStartup method 
Mar 31, 2014 10:07:41 PM com.google.appengine.tools.development.LocalResourceFileServlet doGet 
WARNING: No file found for: /awesomesmartgwtuiproject/com.javacodegeek.smartgwt.appui.awesomesmartgwtuiproject.nocache.js 

当我尝试在浏览器中运行它时,它根本不显示任何内容。对于smartGwt来说是新手,所以我不太熟悉这些配置。有任何想法吗 ?

回答

0

你编译了你的GWT项目吗?

在您的项目中是否在正确的位置生成了nocache.js文件?

您必须阅读关于Understanding the GWT Compiler

每一件事情在上面的链接,包括项目结构,GWT编译等

使用rename-to属性,在模块gwt.xml文件中定义。

直接从上面的链接:

您可能已经注意到,生成的文件之一的模块而得名,随后.nocache.js后缀。这是GWT引导文件。与输出子目录war /类似,此文件的名称也由模块XML文件中的rename-to属性控制。

相关问题