Are you running the app in the Jetty server provided by the Google
plugin?

This server emulates appengine enviroment and you must use classes
that are in the appengine whitelist:
http://code.google.com/intl/es-AR/appengine/docs/java/jrewhitelist.html

Try running your app in a Tomcat.

On 7 nov, 08:52, Paul Robinson <ukcue...@gmail.com> wrote:
> Is the mysql driver jar file in the server's runtime classpath? It ought
> to be in your war file.
>
> On 05/11/10 13:23, Ross McKinnon 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