首页 / 浏览问题 / 云GIS / 问题详情
iserver发布postgis地图服务失败
10EXP 2023年08月09日

使用postgis数据源发布地图服务和数据服务,数据服务成功,地图服务失败。报错:
服务提供者map-ssjd1-2创建失败,失败原因:class org.geotools.jdbc.JDBCFeatureSource cannot be cast to class org.geotools.data.simple.SimpleFeatureStore (org.geotools.jdbc.JDBCFeatureSource and org.geotools.data.simple.SimpleFeatureStore are in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @35088e87)

1个回答

您好,您iserver是部署在什么系统上的呢,iserver版本具体是多少(例如:11.1.0)。如果是在Linux系统上,请检测是否缺失依赖,依赖检查补充参考:http://support.supermap.com.cn/DataWarehouse/WebDocHelp/iServer/Install_Uninstall/Linux/preConfig.htm

3,143EXP 2023年08月09日
windows 10, isever版本11.1.0
依赖是否检查过了呢?发布地图服务时是否添加了自己的风格文件。postgis数据是数据库原生数据格式还是在桌面新建过数据源的超图的格式呢?
...