From: Cruelemort <ian...@gm...> - 2009-11-04 14:36:14
|
I do not know if i am posting to the correct place but i am having some trouble with WFS-T using GeoTools. I downloaded the tools and started building a program with them, ending in - FeatureSource features = dataStore.getFeatureSource(dataStore.getTypeNames()[2]); FeatureStore store = (FeatureStore)features; When the last line happens i get a ClassCastException stating - org.geotools.data.wfs.v1_1_0.WFSFeatureSource cannot be cast to org.geotools.data.FeatureStore I have read in a couple of places that this can happen if a primary key is not defined or if you do not have write access to the table, my table does have a primary key, and GeoServer is set up to use a valid user account that should have write access... Does anybody have any idea what might be causing this problem? Or the correct place to ask this question if this is not it... Thanks! -- View this message in context: http://n2.nabble.com/GeoServer-access-issues-tp3945542p3945542.html Sent from the geotools-gt2-users mailing list archive at Nabble.com. |