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

basic roo m3 GWT/GAE project doesn't run in Eclipse

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Deferred
    • Affects Version/s: 1.1.0.M3
    • Fix Version/s: 1.1.0.RC1
    • Component/s: GAE, GWT
    • Labels:
      None
    • Environment:
      fedora core 13

      Description

      (this is a followup on https://jira.springsource.org/browse/ROO-1122 )

      Generate a project with
      ==
      project --topLevelPackage org.test.template
      persistence setup --provider DATANUCLEUS --database GOOGLE_APP_ENGINE
      gwt setup
      controller all --package ~.web
      logging setup --level INFO
      quit

      ==
      With m2eclipse, import project in Eclipse. Issues:

      1. Some project .settings/ are missing: GWT and GAE. Right click on project -> Google -> Web Toolkit settings. Use Web Toolkit checkbox is off, should have been on. Same for project -> Google -> App Engine settings
      Project settings also miss Google | Web Application, checkbox "This project has a WAR directory" and project's src/main/webapp directory. This is the standard WAR source folder for Maven Web projects. Be sure that the "Launch and deploy from this directory" box is NOT checked
      http://googlewebtoolkit.blogspot.com/2010/08/how-to-use-google-plugin-for-eclipse.html

      2. Attempt to run project.
      Exception in thread "main" java.lang.NoClassDefFoundError: com/google/gwt/dev/DevMode
      Caused by: java.lang.ClassNotFoundException: com.google.gwt.dev.DevMode
      at java.net.URLClassLoader$1.run(URLClassLoader.java: 217)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.j ava:205)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:3 21)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:294)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:2 66)
      at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:334)
      Could not find the main class: com.google.gwt.dev.DevMode. Program will exit.

        Attachments

          Activity

            People

            Assignee:
            rdayal Rajeev Dayal
            Reporter:
            marius Marius Andreiana
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: