java.lang.IllegalArgumentException: Can't find neither a FeatureType nor a CoverageInfo named...

java.lang.IllegalArgumentException: Can't find neither a FeatureType nor a CoverageInfo named...

解决方法见http://jira.codehaus.org/browse/GEOS-3337

Only on layers we have uploaded ourselves, GetFeatureInfo request when clicking on a feature yields the following, instead of a table.

java.lang.IllegalArgumentException: Can't find neither a FeatureType nor a CoverageInfo named http://www.opengeospatial.net/cite:trees Can't find neither a FeatureType nor a CoverageInfo named http://www.opengeospatial.net/cite:trees

Note that this layer in question was not in the cite workspace. When places in cite workspace, GetFeatureInfo request works fine.

这应该是GeoServer的一个bug。当使用GetFeatureInfo获取feature的信息时,会报这个错误。是因为在GeoServer中,当前的layer所在的workspace不是默认的。将其改为默认的,并重启GeoServer就可以了。

posted @ 2011-10-12 14:21  NuVvUtU  阅读(747)  评论(0编辑  收藏  举报