1. Make sure you are NOT using app engine. It took me a damn whole day to find out that app engine doesn't support db connection other than big table. 2. Try putting the mysql connector jar under war\web-inf\lib.
On May 26, 3:22 am, LucHub <[email protected]> wrote: > Hi all, > > I have a RPC to get data from the server. On the client side I ask for > the 'server' method. On the server side, once called, the service has > to read a DB, let's say a mysql db. The Java driver is on my > classpath. When on the server side I write Class.forName("...the > driver class...") I get the java.lang.ClassNotFoundException for the > driver's class. Where ma I wrong? The server side is not compiled to > javascript, so it should work. Does GWT behave in a different way from > the 'classpath' point of view compared to a Desktop application? > > Thanks a lot -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
