Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Geographic Information Systems by heljabiri
, 1 year ago
net.opengis.wfs20.impl.WFSCapabilitiesTypeImpl cannot be cast to net.opengis.wfs.WFSCapabilitiesType
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.(WFSClient.java:71)	at org.geotools.data.wfs.internal.WFSClient.(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)