We are trying to implement our project with GWT 2.1.0.RC1.
When we use 2.1.0.RC1 in our maven project through below given POM
configuration .
We in our Project it will be able to import all of the required
classes but at the time of execution it didn't bind with the classes
(all basic classes og GWT like GWT, UI package class etc. ).
Is their we are missing any configuration?
Please suggest the way to come out from this problem :.
POM:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>1.3.2.google</version>
<executions>
<execution>
<goals>
<goal>resources</goal>
<goal>compile</goal>
<goal>generateAsync</goal>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>
<repositories>
<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>
</repositories>
<pluginRepositories>
<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>
</pluginRepositories>
<dependencyManagement>
<dependencies>
<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>
</dependencies>
</dependencyManagement>
====>>Compilation error we are getting as :
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
e:\workspace\places\src\main\java\com\places\client\ClientFactory.java:
[3,34] pa
ckage com.google.gwt.event.shared does not exist
e:\workspace\places\src\main\java\com\places\client\ClientFactory.java:
[4,34] pa
ckage com.google.gwt.place.shared does not exist
e:\workspace\places\src\main\java\com\places\client\ClientFactory.java:
[10,1] ca
nnot find symbol
symbol : class EventBus
location: interface com.places.client.ClientFactory
e:\workspace\places\src\main\java\com\places\client\ClientFactory.java:
[11,1] ca
nnot find symbol
symbol : class PlaceController
location: interface com.places.client.ClientFactory
e:\workspace\places\src\main\java\com\places\client\ui\MyView.java:
[3,34] packag
e com.google.gwt.place.shared does not exist
e:\workspace\places\src\main\java\com\places\client\ui\MyView.java:
[4,36] packag
e com.google.gwt.user.client.ui does not exist
e:\workspace\places\src\main\java\com\places\client\ui\MyView.java:
[6,32] cannot
find symbol
symbol: class IsWidget
public interface MyView extends IsWidget
e:\workspace\places\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
e:\workspace\places\src\main\java\com\places\client
\ClientFactoryImpl.java:[3,34
] package com.google.gwt.event.shared does not exist
e:\workspace\places\src\main\java\com\places\client
\ClientFactoryImpl.java:[4,34
] package com.google.gwt.event.shared does not exist
e:\workspace\places\src\main\java\com\places\client
\ClientFactoryImpl.java:[5,34
] package com.google.gwt.place.shared does not exist
e:\workspace\places\src\main\java\com\places\client
\ClientFactoryImpl.java:[11,2
2] cannot find symbol
symbol : class EventBus
location: class com.places.client.ClientFactoryImpl
e:\workspace\places\src\main\java\com\places\client
\ClientFactoryImpl.java:[12,2
2] cannot find symbol
symbol : class PlaceController
location: class com.places.client.ClientFactoryImpl
e:\workspace\places\src\main\java\com\places\client
\ClientFactoryImpl.java:[17,8
] cannot find symbol
symbol : class EventBus
location: class com.places.client.ClientFactoryImpl
--
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.