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

Bad code gen from

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 1.1.0.RC1
    • Component/s: GWT
    • Labels:
      None

      Description

      project --topLevelPackage com.springsource.testapp
      
      persistence setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY
      
      entity --class ~.server.domain.Report --testAutomatically
      field string --fieldName purpose
      
      entity --class ~.server.domain.Expense --testAutomatically
      field number --type java.lang.Double amount
      field reference --type Report report
      
      gwt setup
      
      logging setup --level INFO
      

      Results in

      [ERROR] The method getScaffoldApp() is undefined for the type ScaffoldInjector
      [ERROR] The import com.springsource.extrack cannot be resolved
      [ERROR] ScaffoldApp cannot be resolved to a type
      [ERROR] The import com.springsource.extrack cannot be resolved
      [ERROR] ScaffoldApp cannot be resolved to a type
      ...
      [INFO] Compiler errors : 
      error at injector.getScaffoldApp().run();
               ^^^^^
      /usr/local/google/users/sbrubaker/test_app/src/main/java/com/springsource/testapp/gwt/scaffold/Scaffold.java:16:0::0 The method getScaffoldApp() is undefined for the type ScaffoldInjector
      error at import com.springsource.extrack.gwt.scaffold.ScaffoldApp;
             ^^^^^^^^^^^^^^^^^^^^^^^
      ... 
      

        Attachments

          Activity

            People

            Assignee:
            jtyrrell James Tyrrell
            Reporter:
            rjrjr@google.com Ray Ryan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: