So you know you should not be mixing dependency version numbers right?
I was just about to suggest checking them (since the last error of
this kind was produced in a similar manner).
--
Hi everyone
I just started to use geotools.
What I've done so far is to connect to a Oracle spatial database. The
connection is successfull.
When I'm trying to get a FeatureSource object with the following code:
FeatureSource featureSource = dataStore.getFeatureSource( "MyTypeName");
It returns
I do specify a schema parameter the config properties eg.
map.put("schema","MY_SCHEMA_NAME");
When I use the getTypeNames (typeNames = dataStore.getTypeNames()) method it
returns all types (tables) in the schema.
The NoSuchMethodError is generated when I use
dataStore.getFeautureSource("MYTABLE"
I seem to recall oracle has some kind of schema or other parameter that
controls what tables you see. In anycase once you connect ot the datastore
you can ask it for the list of valid table names can you not? Those should
all work as I understand it.
Jody
On Thu, Mar 5, 2009 at 6:40 PM, alwynn wr
This is my pom.xml
http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd";>
4.0.0
org.geotools.demo.gui
geotools-gui
jar
1.0-SNAPSHOT
geotools-gui
ht
OK, so I'm still investigating this problem.
Because I'm new to GIS, Geotools as well as Oracle spatial bear with me.
When I refer to the type name string as a parameter in getFeatureSource I'm
using the table name. This results in 'Exception in thread "main"
java.lang.NoSuchMethodError'
org.g