java.lang.ClassCastException

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

Solutions on the web19030

  • via Geographic Information Systems by heljabiri
    , 1 year ago
    net.opengis.wfs20.impl.WFSCapabilitiesTypeImpl cannot be cast to net.opengis.wfs.WFSCapabilitiesType
  • java.util.HashMap cannot be cast to net.opengis.wfs20.OutputFormatListType
  • via iteye.com by Unknown author, 1 year ago
    cannot be cast to
  • Stack trace

    • 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(StrictWFS_1_x_Strategy.java:411) at org.geotools.data.wfs.internal.WFSClient.<init>(WFSClient.java:71) at org.geotools.data.wfs.internal.WFSClient.<init>(WFSClient.java:62) at org.geotools.data.wfs.WFSDataStoreFactory.createDataStore(WFSDataStoreFactory.java:117) at org.geotools.data.wfs.WFSDataStoreFactory.createDataStore(WFSDataStoreFactory.java:70) at org.geotools.data.DataAccessFinder.getDataStore(DataAccessFinder.java:130)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.