Hi Klapfer,
Make sure that your jbdc postgres driver jar file is added to
the referred libraries when you use eclipse as an IDE during the development
phase and once you build your project war file for deploying in the browser,
check that jar file is included in the lib directory within war file
For example,
if you use jakarta tomcat as an web server,
chek for the directory $CATALINA_HOME/Webapps/<war-file>/WEB-INF/lib
directory contains your jdbc driver jar file.
or
if there is a problem exists in the external browser (any browser related
problems), then just make that external browser as your default browser so
that GWT will execute your project code in that browser during the hosted
mode.
or
Are you using the JDBC driver code in the client side?
because its not allowed and i suggest you not to use it because your client
is not aware of these external database related class files.
if its the case, i prefer you to use hibernate & springs for database
connectivity.
Thanks,
-Venky.
On Fri, Jan 9, 2009 at 1:34 AM, Aka ray <[email protected]> wrote:
>
> Hello everybody.
> Im new in using gwt.
>
> Almost everything is working but when I compile my project to run it
> on an external Browser, I get a ClassnotFoundException when I try to
> connect to the database ( jdbc: postgres)
>
> It works perfectly in hosted mode.
>
> Where do I have to copy / link the file in order that the gwt shell
> finds the class ?
>
> Thanks in advance
> R.Klapfer
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---