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

Upgrade FlexJson dependency to version 3.2

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.2.5.RELEASE
    • None
    • GENERAL OBJECTS
    • None

    Description

      At some point, the dbre process started using Calendar rather than Date for my the date fields in db tables. That's great, but the old version of flexjson appears to have problems with Calendar. With the stock version of 2.1, an autogenerated roo json controller trying to serialize an entity with a Calendar field gets the following error:

      Caused by: java.lang.IllegalAccessException: Class flexjson.BeanProperty can not access a member of class sun.util.calendar.CalendarDate with modifiers "private"

      Upgrading to the most recent version of flexjson, 3.2, solved it for me-

      Attachments

        Activity

          People

            eruiz Enrique Ruiz (DiSiD)
            chrismarx chris marx
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: