No. No errors other than the ones mentioned in the original post. After resolving those errors, we could run the default project using "run as / web application". The problem only comes after we add dependencies to our pom file.
On Dec 2, 2:43 pm, David Chandler <[email protected]> wrote: > Do you see errors in any of the Eclipse consoles (including Maven console) > while doing the import? > > > > > > > > > > On Thu, Dec 2, 2010 at 3:28 PM, cri <[email protected]> wrote: > > We are trying to use gwt-maven-plugin to generate our mavenized gwt > > project. Our versions are: > > > eclipse helios > > gwt 2.1 > > gwt-maven-plugin 2.1.1-SNAPSHOT > > > We generate our initial project with the command line: > > > mvn archetype:generate \ > > -DarchetypeRepository=https://nexus.codehaus.org/content/groups/ > > snapshots-group/ \ > > -DarchetypeGroupId=org.codehaus.mojo \ > > -DarchetypeArtifactId=gwt-maven-plugin \ > > -DarchetypeVersion=2.1.1-SNAPSHOT > > > We then import the project into eclipse using "import / as existing > > project". > > > Here are the problems we then encountered: > > > (1) Eclipse compile errors complaining of unknown classes. These are > > classes the plugin generates and places in target/generated-sources/ > > gwt. The classes are Messages.java and GreetingServiceAsync.java. We > > work around this problem by adding target/generated-sources/gwt to > > our eclipse project classpath. > > > (2) The class GwtTesttest.java has eclipse compile errors. We don't > > care much about this so for the moment we are just deleting that > > class. > > > (3) This is the problem we can't find a workaround for. If we add > > dependencies to our pom, say spring framework, they then get added > > automatically to the "Libraries/Maven Dependencies". The problem comes > > when we invoke "Run As... / Web Application". Jetty fails to find > > classes in our newly added maven dependency, e.g Spring. > > > Is there anyone out there that can shed some light on this? Thanks > > > -- > > 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%2Bunsubs > > [email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-web-toolkit?hl=en. > > -- > David Chandler > Developer Programs Engineer, Google Web > Toolkithttp://googlewebtoolkit.blogspot.com/ -- 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.
