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
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
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
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
I'm trying to run this code:
Map params = new HashMap();
params.put(MySQLDataStoreFactory.DBTYPE.key, "mysql");
params.put(MySQLDataStoreFactory.HOST.key, "localhost");