Esfand, You need the RC1 version of the Google Plugin for Eclipse also. You can download it here:
http://code.google.com/webtoolkit/download_2_1_rc1.html Please post back if you're still having problems. -- David Chandler Developer Programs Engineer, Google Web Toolkit Atlanta, GA USA On Oct 12, 5:21 am, Esfand <esha...@gmail.com> wrote: > The sample fails on the server-side because > somehow the EMF does not get initialized. > > I've imported the sample into Eclipse 3.6 on > Windows 7 and running the LoadExpensesDB > module via Debug As menu item of Eclipse > Property Context Menu. > > Can anybody please shed some light on how to > initialize the server-side DB and services? > > The exception is: > [ERROR] javax.servlet.ServletContext log: > Exception while dispatching incoming RPC call > com.google.gwt.user.server.rpc.UnexpectedException: > Service method 'public abstract java.util.List > com.google.gwt.sample.expenses.client.DataGenerationService.getCounts()' > threw an unexpected exception: java.lang.ExceptionInInitializerError > at > com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java: > 378) > at > com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java: > 581) > at > com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServi > ceServlet.java: > 207) > at > com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServi > ceServlet.java: > 243) > at > com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(Abstract > RemoteServiceServlet.java: > 62) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:713) -- 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-tool...@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.