try running "tools/scripts/maven_script.sh" from the root of the GWT
checkout.  This will build a current copy of GWT and them to your local
maven repo.  You should then be able to do a "mvn compile", "mvn
gwt:compile", "mvn gw:run".

On Sun, Sep 5, 2010 at 9:08 AM, superdama <zack...@gmail.com> wrote:

> Hi guys,
>
> I got the same issue. Still don't know how to solve the problem.
> Frustrating.
>
> -Zack
>
>
>
> On Aug 25, 9:22 pm, tc <camec...@gmail.com> wrote:
> > Does anyone know why I would get this error when trying to run the
> > samples/expensesapp via maven.
> >
> > : java.lang.NoClassDefFoundError: org/datanucleus/
> > PersistenceConfiguration
> >  java.lang.NoClassDefFoundError: Could not initialize class
> > com.google.gwt.sample.expenses.server.domain.EMF
> >
> > I am running this by using these commands.
> >
> > mvncompilemvngwt:compilemvngwt:run
> >
> > I also tried to usemvngae:run  but get the same error.
> >
> > This is the sample project in the trunk of the GWT samples area.
>
> --
> 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<google-web-toolkit%2bunsubscr...@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-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.

Reply via email to