Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Works as Designed
-
1.2.1.RELEASE, 1.2.2.RELEASE
-
None
-
Fedora 16, Ubuntu 12.04, Windows 7
Description
Note the I have not tested this in Windows or Mac OS.
I create an new GWT/GAE app engine project from Roo shell using the following commands
project --topLevelPackage com.test
jpa setup --provider DATANUCLEUS --database GOOGLE_APP_ENGINE
entity jpa --class ~.server.domain.Car
web gwt setup
web gwt all --proxyPackage com.test.client.proxy --requestPackage com.test.client.request
The project scaffolds without error. However, if I exit and run mvn gwt:run I receive the following error:
java.lang.ClassCastException: com.google.appengine.tools.development.ApiProxyLocalImpl cannot be cast to com.google.appengine.tools.development.ApiProxyLocal
Removing the following dependencies in the pom.xml file prior to running mvn gwt:run eliminates the error
<dependency>
<groupId>com.google.appengine</groupId>
<artifactId>appengine-testing</artifactId>
<version>1.6.5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.appengine</groupId>
<artifactId>appengine-api-stubs</artifactId>
<version>1.6.5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.appengine</groupId>
<artifactId>appengine-api-labs</artifactId>
<version>1.6.5</version>
<scope>test</scope>
</dependency>