Ensure that the jar is also in the WEB-INF/lib folder (required during
runtime - Jetty server).



--
Happy hacking,
Gaurav Vaish
http://www.mastergaurav.com


On Nov 30, 1:54 pm, mgm <gabor.mundru...@gmail.com> wrote:
> I am having the same issue.. I am using MySQL on the server side
> (server source package only) and there is the run-time error of:
>
>   java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
>
> I do have the mysql package (mysql-connector-java.jar) in the eclipse
> class path (in Project / Properties / Java Build Path) and still it
> does not work.
>
> Does anyone know how to configure correctly? perhaps there are other
> settings to make...
>
> thanks
> Gabor
>
> On Nov 5, 2:23 pm, Ross McKinnon <r.mckinno...@googlemail.com> wrote:
>
> > Hi there,
>
> > I've spent numerous hours this week trying to get my existing GWT
> > application to connect with an existing MySQL database with no luck.
>
> > I've created my code to connect to the database using JDBC and is kept
> > in the server package to ensure it remains as java code.  Also i have
> > included the mySQL jar file in the build path for the project but
> > still get an error
>
> > java.lang.ClassNotFoundException:com.mysql.jdbc.Driver...
>
> > I have tried numerous ways of getting the database and have ran out of
> > ideas now so thought I would consult the experts to see if any kind
> > person can lend a hang..
>
> > Thanks for any help,
>
> > Ross
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to