Hi Adis,

My guess it that the mysql jdbc driver is not on the classpath.

Also note that if you want to run with mysql on the classpath from eclipse
there is an existing maven profile to do this. Simply do:

mvn -P mysql eclipse:eclipse from the top level source directory. The result
should be a new mysql module in eclipse and a dependency from the web-app
project on it.

-Justin

On Thu, Feb 24, 2011 at 6:13 AM, Adis Pezo <[email protected]> wrote:

> Hi,
>
> I have some problem with Geoserver and MySQL.
>
> I downloaded Geoserver 2.0.2 source and geotools mysql 2.6.4 source. I got
> geoserver running in my eclipse, but i can't get it working with MySQL. I
> put org.geotools.data.DataStoreFactorySpi in
> src/main/src/main/resources/meta-inf/services and the java files in
> src/main/src/main/java/org/geotools/data/mysql.
>
> When i start geoserver from eclipse i can see MySQL JNDI database when i
> select add new store, but not the normal MySQL database.
>
> Maybe someone can help me fix this.
>
> Thanks in advance,
> Adis
>
>
> ------------------------------------------------------------------------------
> Free Software Download: Index, Search & Analyze Logs and other IT data in
> Real-Time with Splunk. Collect, index and harness all the fast moving IT
> data
> generated by your applications, servers and devices whether physical,
> virtual
> or in the cloud. Deliver compliance at lower cost and gain new business
> insights. http://p.sf.net/sfu/splunk-dev2dev
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>


-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to