Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3187

Cannot run a GWT/GAE application using mvn gwt:run using the default pom.xml file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Works as Designed
    • Affects Version/s: 1.2.1.RELEASE, 1.2.2.RELEASE
    • Fix Version/s: None
    • Component/s: GAE, GWT
    • Labels:
    • Environment:
      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>

        Attachments

          Activity

            People

            Assignee:
            stewarta Alan Stewart
            Reporter:
            thor1729 Nick Thorson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: