Thanks for your reply Thomas, I also used the same configuration as provided by you, but getting strange problems:
......... projectRoot\src\main\java\com\places\client\ClientFactory.java:[3,34] pa ckage com.google.gwt.event.shared does not exist projectRoot\src\main\java\com\places\client\ClientFactory.java:[4,34] pa ckage com.google.gwt.place.shared does not exist projectRoot\src\main\java\com\places\client\ClientFactory.java:[10,1] ca nnot find symbol symbol : class EventBus location: interface com.places.client.ClientFactory projectRoot\src\main\java\com\places\client\ClientFactory.java:[11,1] ca nnot find symbol symbol : class PlaceController location: interface com.places.client.ClientFactory projectRoot\src\main\java\com\places\client\ui\MyView.java:[3,34] packag e com.google.gwt.place.shared does not exist projectRoot\src\main\java\com\places\client\ui\MyView.java:[4,36] packag e com.google.gwt.user.client.ui does not exist projectRoot\src\main\java\com\places\client\ui\MyView.java:[6,32] cannot find symbol symbol: class IsWidget public interface MyView extends IsWidget projectRoot\src\main\java\com\places\client\ui\MyView.java:[13,12] canno t find symbol symbol : class Place location: interface com.places.client.ui.MyView.Presenter projectRoot\src\main\java\com\places\client\ClientFactoryImpl.java: [3,34 ] package com.google.gwt.event.shared does not exist projectRoot\src\main\java\com\places\client\ClientFactoryImpl.java: [4,34 ] package com.google.gwt.event.shared does not exist projectRoot\src\main\java\com\places\client\ClientFactoryImpl.java: [5,34 ] package com.google.gwt.place.shared does not exist projectRoot\src\main\java\com\places\client\ClientFactoryImpl.java: [12,2 2] cannot find symbol symbol : class PlaceController location: class com.places.client.ClientFactoryImpl ..................... Actually in Eclipse IDE, I am able to import and use all gwt classes, but during mvn package or mvn jetty:run or gwt:run, it gives above errors. And in Intellij idea IDE, ide gives errors on classes itself, saying that the GWT classes need some different module to be inherited in Application.gwt.xml file. For example for class com.google.gwt.core.GWT it says that inherit module 'com.google.gwt.core.CompilerParameters' and for class UIBinder it says to inherit 'com.google.gwt.uibinder.UiBinder', but even on inheriting these modules, the error remains both in IDE and during mvn commands. On Oct 19, 1:21 am, Thomas Broyer <t.bro...@gmail.com> wrote: > On 18 oct, 15:54, Gaurav Jain <gauravma...@gmail.com> wrote: > > > Can anybody please tell the maven dependency for 2.1rc1and its > > repository? > > We're using (from memory) > <repository> > <id>gwt-repo</id> > <url>http://google-web-toolkit.googlecode.com/svn/2.1.0/gwt/maven</ > url> > <name>Google Web Toolkit Repository</name> > </repository> > ... > <pluginRepository> > <id>gwt-repo</id> > <url>http://google-web-toolkit.googlecode.com/svn/2.1.0/gwt/maven</ > url> > <name>Google Web Toolkit Plugin Repository</name> > </pluginRepository> > ... > <dependency> > <groupId>com.google.gwt</groupId> > <artifactId>gwt-servlet</artifactId> > <version>2.1.0.RC1</version> > <scope>runtime</scope> > </dependency> > <dependency> > <groupId>com.google.gwt</groupId> > <artifactId>gwt-user</artifactId> > <version>2.1.0.RC1</version> > <scope>provided</scope> > </dependency> > <dependency> > <groupId>com.google.gwt</groupId> > <artifactId>gwt-dev</artifactId> > <version>2.1.0.RC1</version> > <scope>provided</scope> > </dependency> > ... > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>gwt-maven-plugin</artifactId> > <version>1.3.2.google</version> > <configuration> > ... > Sorry, can't remember off hand what we really do have here. We're > running "mvn compile war:exploded -Dgwt.compiler.skip=true" to pre- > package the app without the gwt:compile step, and we run the DevMode > from Eclipse using the target/<webapp-exploded-war-output> as the > "war" directory > ... > <gwtVersion>2.1.0.RC1</gwtVersion> > <runTarget>/index.html</runTarget> > <modules> > <module>${project.groupId}.MyApp</module> > </modules> > </configuration> > <executions> > <execution> > <id>gwtcompile</id> > <phase>prepare-package</phase> > <goals> > <goal>compile</goal> > </goals> > </execution> > </executions> > </plugin> > > You can also use 2.1-SNAPSHOT from the sonatype google-snapshots > repository or google code 2.1.0.RC1repository (in the GWT SVN repo, > same as above, just replace 2.1.0 with 2.1.0.RC1) -- 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.