Re: [Geotools-gt2-users] MySQLDataStoreFactory cannot be resolved to a variable

2011-07-19 Thread lexmc
Thank you for the replies, I solved the problem adding this code to my pom.xml file. org.geotools.jdbc gt-jdbc-mysql ${geotools.version} -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/MySQLDataStoreFactory-cannot-be-resolved-to-a-variab

Re: [Geotools-gt2-users] MySQLDataStoreFactory cannot be resolved to a variable

2011-07-18 Thread Jody Garnett
Morning; I am afraid MySQL is not used very much for spatial data making it hard for anyone with experience to help you. Experience asks people to move on. For the definitive answer to any MySQL connection problems you need to look at the source code "test cases" which is what we use to verify it w

Re: [Geotools-gt2-users] MySQLDataStoreFactory cannot be resolved to a variable

2011-07-18 Thread lexmc
Excuse me for the three question marks, I downloaded the latest jdbc connector but the problem is still here. MySQLDataStoreFactory is not recognised. What can I do? -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/MySQLDataStoreFactory-cannot-be-resolved-to-a-variable-tp65

Re: [Geotools-gt2-users] MySQLDataStoreFactory cannot be resolved to a variable

2011-07-18 Thread Andrea Aime
On Mon, Jul 18, 2011 at 10:43 AM, lexmc wrote: > I'm trying to run this code: > Map params = new HashMap(); > >                        params.put(MySQLDataStoreFactory.DBTYPE.key, "mysql"); >                        params.put(MySQLDataStoreFactory.HOST.key, > "loca

[Geotools-gt2-users] MySQLDataStoreFactory cannot be resolved to a variable

2011-07-18 Thread lexmc
I'm trying to run this code: Map params = new HashMap(); params.put(MySQLDataStoreFactory.DBTYPE.key, "mysql"); params.put(MySQLDataStoreFactory.HOST.key, "localhost");