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就可以了。
浙公网安备 33010602011771号