It seems that your classpath is good. When you said:

"But then I restarted the server (from the eclipse "development pane"),
and I started getting errors saying that the server cannot find a
driver for jdbc:mysql connection!"

You want to "deploy" the app in a servlet container?. Try make a war and put
in it and test. Tell me if the error persist

Juan




2011/3/15 Erel Segal <erel...@gmail.com>

> Here it is:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <classpath>
>        <classpathentry kind="src" path="src"/>
>        <classpathentry kind="src" output="test-classes" path="test"/>
>        <classpathentry kind="con"
> path="com.google.gwt.eclipse.core.GWT_CONTAINER"/>
>        <classpathentry kind="con"
> path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
>        <classpathentry combineaccessrules="false" kind="src" path="/
> GeniusBI"/>
>        <classpathentry kind="lib" path="/home/<username>/workspace/gwtchat/
> war/WEB-INF/lib/mysql-connector-java-5.1.15-bin.jar"/>
>        <classpathentry kind="output" path="war/WEB-INF/classes"/>
> </classpath>
>
> On 9 מרץ, 18:49, Juan Pablo Gardella <gardellajuanpa...@gmail.com>
> wrote:
> > Is classpath error problem. Show the .classpath file
> >
> > Juan
> >
> > 2011/3/9 Erel Segal <erel...@gmail.com>
> >
> > > I added a mysql server to the default GWT application. I put the mysql
> > > connector jar in the lib folder under WEBINF, and also added it to the
> > > build path. I ran the web application in development mode and it
> > > worked fine.
> >
> > > But then I restarted the server (from the eclipse "development pane"),
> > > and I started getting errors saying that the server cannot find a
> > > driver for jdbc:mysql connection!
> >
> > > Can you please help me?
> >
> > > --
> > > 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-toolkit@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.
>
> --
> 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-toolkit@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.
>
>

-- 
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-toolkit@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