Какое отношение имеет SmartClient к SmartGwt?

Я пытаюсь запустить простое приложение SmartGWT (у меня есть набор инструментов GWT и SDK, установленные в Eclipse). Я пробовал простые уроки, такие как этот ...

http://hilloldebnath.byethost3.com/2009/08/29/smartgwt-a-getting-started-guide/

Когда я запускаю (веб-приложение) и мне предоставляется ссылка, я дважды щелкаю по ссылке. Единственное, что отображается - это текст в html (компоненты SmartGwt не отображаются). Я продолжаю видеть ссылки (в документации) на SmartClient, но я не уверен, что он делает. Нужен ли мне SmartClient для разработки с компонентами SmartGwt или что-то еще происходит?

Я также предоставлю вывод на консоль. В консоли тоже есть ошибки, и я не совсем понимаю, что они означают ...

 [WARN] Server class 'org.eclipse.jetty.servlet.listener.ELContextCleaner' could not be found in the web app, but was found on the system classpath
   [WARN] Adding classpath entry 'file:/C:/dev/tools/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-dev.jar' to the web app classpath for this session
   For additional info see: file:/C:/dev/tools/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/doc/helpInfo/webAppClassPath.html
Linking modules
   Bootstrap link for command-line module 'com.test.smartgwt.TestSmartGwt'
      Linking module 'testsmartgwt'
         Invoking Linker Cross-Site-Iframe
            [ERROR] The Cross-Site-Iframe linker does not support <script> tags in the gwt.xml files, but the gwt.xml file (or the gwt.xml files which it includes) contains the following script tags: 
sc/modules/ISC_Core.js
sc/modules/ISC_Foundation.js
sc/modules/ISC_Containers.js
sc/modules/ISC_Grids.js
sc/modules/ISC_Forms.js
sc/modules/ISC_RichTextEditor.js
sc/modules/ISC_Calendar.js
sc/modules/ISC_DataBinding.js
sc/skins/Enterprise/load_skin.js
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
[WARN] 404 - GET /testsmartgwt/testsmartgwt.nocache.js () 1401 bytes
   Request headers
      Host: 
      User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0
      Accept: */*
      Accept-Language: en-US,en;q=0.5
      Accept-Encoding: gzip, deflate
      Referer: http://******8888/TestSmartGwt.html?gwt.codesvr=******9997
      Connection: keep-alive
   Response headers
      Content-Type: text/html;charset=ISO-8859-1
      Cache-Control: must-revalidate,no-cache,no-store
      Content-Length: 1401
[WARN] 404 - GET /testsmartgwt/testsmartgwt.nocache.js (****) 1401 bytes
   Request headers
      Host: localhost
      User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0
      Accept: */*
      Accept-Language: en-US,en;q=0.5
      Accept-Encoding: gzip, deflate
      Referer: http://******8888/TestSmartGwt.html?gwt.codesvr=******:9997
      Connection: keep-alive
   Response headers
      Content-Type: text/html;charset=ISO-8859-1
      Cache-Control: must-revalidate,no-cache,no-store
      Content-Length: 1401

person restin84    schedule 24.02.2014    source источник
comment
Вы должны спросить об этом на forum.smartclient.com   -  person Engineer2021    schedule 25.02.2014


Ответы (2)


Это сработало для меня после того, как я прокомментировал это в файле .gwt.xml.

<!--<add-linker name="xsiframe"/>-->

Я использую gwt 2.6 и smartgwt 4

person Samila    schedule 10.03.2015

Попробуйте еще раз после удаления

<script> var isomorphicDir = "testsmartgwt/sc/"; </script>

из файла HTML вашего хоста.


Если проблема не исчезнет, ​​дайте мне знать о версии SMARTGWT и GWT.

person Braj    schedule 25.02.2014