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 <[email protected]> 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 <[email protected]> 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-web-toolkit%[email protected]> > . > 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 [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.
