Move the classes that are referenced both on the client & server (like DTO)
into the shared package.
Strip down SavePersonne() to almost nothing to see what is causing the
Initialization exception.
Perhaps your web.xml is misconfigured?

This tutorial runs through all the steps to setting up RPC
http://www.gwtproject.org/doc/latest/tutorial/RPC.html


On Wed, Mar 5, 2014 at 2:27 PM, Amir kessentini
<kessentini.a...@gmail.com>wrote:

>
> Hey again :)
> i have read GWT homepage article and i'm developping an example which i
> have a user interface and i want to save the informations on database using
> postgres as SGBD.
> i follow the steps but i got a problem that i couldn't resolve.
>
> com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public
> abstract void
> com.example.test.client.services.PersonneService.savePersonne(com.example.test.client.dto.PersonneDTO)'
> threw an unexpected exception: java.lang.ExceptionInInitializerError
>
> Sorry for my bad english because i'm arabic
> thanks a lot
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
-- A. Stevko
===========
"If everything seems under control, you're just not going fast enough." M.
Andretti

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to