From: Wouter S. <wou...@gm...> - 2008-10-06 12:25:24
|
hey, Could you specify how the feature looks like in your db? The full error would also be handy... grtz, wouter On Wed, Oct 1, 2008 at 4:31 PM, mbru <mb...@mm...> wrote: > > HI > > I´m new in GeoTools and so i follow the introduction and the user guide. I > tired to load a shape file like in tutorial 04, but i get following > exception: > > Exception in thread "main" java.lang.VerifyError: (class: > org/geotools/util/NameFactory, method: toArray signature: > (Ljava/lang/Object;)[Lorg/opengis/util/GenericName;) Illegal type in > constant pool > at > org.geotools.referencing.AbstractIdentifiedObject.<init>(AbstractIdentifiedObject.java:378) > > This code throws the exception > > featureSource = dataStore.getFeatureSource(typeName); > > Any ideas? > > Thx for your replies! > > Mbru > -- > View this message in context: http://www.nabble.com/NewBi-Problem-with-getting-FeatureSource-tp19761758p19761758.html > Sent from the geotools-gt2-users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Geotools-gt2-users mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > |