SmartGwt: attempt to use DataSource of type iscServer without SmartClient Server option.
2009-12-09 10:58
453 查看
在使用 SmartGwt DataSource 取值时出现如下错误:
attempt to use DataSource of type iscServer without SmartClient Server option. Please either set clientOnly: true for one-time fetch against dataURL/testFileName or download the edition with SmartClient Server.
这主要是混合了 SmartGwt LGPL 和 EE 这2个版本引起,经多次尝试,解决方法如下:
1) 在 <projectname>.gwt.xml 配置文件中,将 <inherits name="com.smartgwt.SmartGwt"/>
改为 <inherits name="com.smartgwtee.SmartGwtEE"/>
2) 刷新 Project>war目录,将自动产生的<project name> 文件夹删除。
重新run一下,应该就顺利看到数据了。
attempt to use DataSource of type iscServer without SmartClient Server option. Please either set clientOnly: true for one-time fetch against dataURL/testFileName or download the edition with SmartClient Server.
这主要是混合了 SmartGwt LGPL 和 EE 这2个版本引起,经多次尝试,解决方法如下:
1) 在 <projectname>.gwt.xml 配置文件中,将 <inherits name="com.smartgwt.SmartGwt"/>
改为 <inherits name="com.smartgwtee.SmartGwtEE"/>
2) 刷新 Project>war目录,将自动产生的<project name> 文件夹删除。
重新run一下,应该就顺利看到数据了。
相关文章推荐
- HOW TO: Change the Owner of a User-Defined Data Type That Is in Use in SQL Server 2000
- To select the file to upload we can use the standard HTML input control of type
- ADF Faces RC - How-to use the Client and Server Listener Component
- mysql报错:MySQL server version for the right syntax to use near type=InnoDB的解决方法
- ERROR: The version of SQL Server in use does not support datatype 'datetime2'.
- You have an error MySQL server version for the right syntax to use near 'TYPE=InnoDB' at line 20
- SmartGWT中的client端Record与Server端的DSRequest搭配使用
- No way to map to an envelop schema without use of orchiestration.
- niagara编译错误:using type arguments to access generic types requires the use of "-source 1.5"
- MySQL server version for the right syntax to use near 'type=InnoDB' at line 1
- Android开发报错:GoogleApiClient.isConnected()' was expected to be of type interface but instead was ...
- Use Node.js DDP Client on Arduino Yun to Access Meteor Server
- ValueError: Attempt to have a second RNNCell use the weights of a variable scope already has weights
- MySQL server version for the right syntax to use near 'type=InnoDB' at line 1
- No qualifying bean of type [org.apache.solr.client.solrj.SolrServer] found for dependency: expected
- dbvis MySQL server version for the right syntax to use near 'OPTION SQL_SELECT_LIMIT=DEFAULT' at lin
- how to judge the type of the client browser by .net
- dbvis MySQL server version for the right syntax to use near 'OPTION SQL_SELECT_LIMIT=DEFAULT' at lin
- INF: How To Enable Analysis Server to Use 3 GB of RAM
- 海洋工作室——网站建设专家:The version of SQL Server in use does not support datatype datetime2 and the Entity Framework.