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

GWT project fails to compile with "Cannot instantiate the type Set" (or List)

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Complete
    • 1.2.0.RELEASE
    • 1.2.1.RELEASE
    • GWT
    • xubuntu 11.10 openJDK6

    Description

      When creating a domain model that includes an enum, GWT scaffolding generates the line "return new Set ...", which is trying to instantiate an interface.

      To replicate, run the attached script, then use "mvn gwt:run" to see this error:

      [ERROR] Cannot instantiate the type Set<Interface>

      Attachments

        Activity

          People

            aswan Andrew Swan
            kayser Kay Roesler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: