GWT MySql connection error

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

GWT MySql connection error

Postby aaarru » Mon Jul 13, 2009 4:23 am

hi,
When I am creating a project with GWT Designer, it automatically creats a client and server package. I have write the code for connecting to MySql database in client package. At that time it shows an error message that "java.sql.Connection cannot be found in source packages.Check the inheritance chain from your module, it may not be inheriting a required module or a module may not be adding its source path entries properly. But when I am writing the code for connecting to the database in server package or in other packages, it does not shows any error message. But when I am calling this method in client package, it does not shows any error message. But it is not running, and display an error message in the server hosted mode that "no source code is available for type package.Classname, did you forget to inherit a required module?

How can I connect to a GWT project to MySql database.
aaarru
 
Posts: 1
Joined: Mon Jul 13, 2009 4:06 am

Re: GWT MySql connection error

Postby Eric Clayberg » Mon Jul 13, 2009 6:00 am

aaarru wrote:How can I connect to a GWT project to MySql database.

General GWT usage questions should be posted to the Google GWT forum.

This forum is specifically for questions concerning GWT Designer itself.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest