java.lang.ClassCastException: net.opengis.wfs20.impl.WFSCapabilitiesTypeImpl cannot be cast to net.opengis.wfs.WFSCapabilitiesType

tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Can't get a response from a wfs2.0.0 using Geotools

    Geographic Information Systems | 10 months ago | heljabiri
    java.lang.ClassCastException: net.opengis.wfs20.impl.WFSCapabilitiesTypeImpl cannot be cast to net.opengis.wfs.WFSCapabilitiesType

    Root Cause Analysis

    1. java.lang.ClassCastException

      net.opengis.wfs20.impl.WFSCapabilitiesTypeImpl cannot be cast to net.opengis.wfs.WFSCapabilitiesType

      at org.geotools.data.wfs.internal.v1_x.StrictWFS_1_x_Strategy.setCapabilities()
    2. org.geotools.data
      DataAccessFinder.getDataStore
      1. org.geotools.data.wfs.internal.v1_x.StrictWFS_1_x_Strategy.setCapabilities(StrictWFS_1_x_Strategy.java:411)
      2. org.geotools.data.wfs.internal.WFSClient.<init>(WFSClient.java:71)
      3. org.geotools.data.wfs.internal.WFSClient.<init>(WFSClient.java:62)
      4. org.geotools.data.wfs.WFSDataStoreFactory.createDataStore(WFSDataStoreFactory.java:117)
      5. org.geotools.data.wfs.WFSDataStoreFactory.createDataStore(WFSDataStoreFactory.java:70)
      6. org.geotools.data.DataAccessFinder.getDataStore(DataAccessFinder.java:130)
      6 frames