实施Smartgwt的问题

实施Smartgwt的问题,gwt,smartgwt,Gwt,Smartgwt,你好,我是smartGwt的新手,与gwt合作很好。 现在要升级到smartgwt,请尝试许多教程,它们遵循相同的内容,但当我尝试时,我遇到了错误 我使用了GWT-2.6.0,smartGWT-4.0 当我尝试将添加到xml文件时,它会显示 错误 [错误]跨站点Iframe链接器不支持gwt.xml文件中的标记,但gwt.xml文件(或其包含的gwt.xml文件)包含以下脚本标记: 我在下面的html文件中添加了添加所有相关脚本,首先我尝试使用 var isomorphicDir=“testS

你好,我是smartGwt的新手,与gwt合作很好。 现在要升级到smartgwt,请尝试许多教程,它们遵循相同的内容,但当我尝试时,我遇到了错误

我使用了GWT-2.6.0smartGWT-4.0

当我尝试将
添加到xml文件时,它会显示 错误

[错误]跨站点Iframe链接器不支持gwt.xml文件中的标记,但gwt.xml文件(或其包含的gwt.xml文件)包含以下脚本标记:
我在下面的html文件中添加了添加所有相关脚本,首先我尝试使用

var isomorphicDir=“testSmartGWT_01/sc/”

在脚本标记中,但不工作

下面是我在xml文件中包含的内容

您是否在主机页(用于启动应用程序的html)中添加了如下内容(最好在“head”标记中添加,并用您的模块名替换[module name]:



检查此项:

当创建基本GWT新Web应用程序项目时,我遇到了问题



仅删除此代码即可创建问题。请正确运行它。

您必须在不使用脚本的情况下继承SmartGwt:

<inherits name="com.smartgwt.SmartGwtNoScript"/> 


然后,不再需要将xsiFrame.failIfScriptTag设置为false

什么是错误?发布错误。我发布了错误,你能告诉我哪里出了问题吗。。。!?!添加到你的gwt.xml,并将所有需要的标记放在你的HTML主页中。参考:我在我的代码中添加了一些更具体的东西,请检查,普密卡,我已经参考了你发布的链接
<script src=[module-name]/sc/modules/ISC_Core.js></script>
<script src=[module-name]/sc/modules/ISC_Foundation.js></script>
<script src=[module-name]/sc/modules/ISC_Containers.js></script>
<script src=[module-name]/sc/modules/ISC_Grids.js></script>
<script src=[module-name]/sc/modules/ISC_Forms.js></script>
<script src=[module-name]/sc/modules/ISC_RichTextEditor.js></script>
<script src=[module-name]/sc/modules/ISC_Calendar.js></script>
<script src=[module-name]/sc/modules/ISC_DataBinding.js></script>
<inherits name="com.smartgwt.SmartGwtNoScript"/>