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

Compile error in aspectj compile phase occurs when a perfom eclipse is run after upgrade to Spring 3.0.4

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0.M2
    • Fix Version/s: 1.1.0.M3
    • Component/s: None
    • Labels:
      None

      Description

      After upgrading to Spring 3.0.4 the following errors occur when executing 'perform eclipse' after running the expenses.roo script:

      [Thread-6] [ERROR] The import flexjson cannot be resolved
      [Thread-6] [ERROR] JSONSerializer cannot be resolved to a type
      [Thread-6] [ERROR] JSONDeserializer cannot be resolved to a type
      [Thread-6] [ERROR] JSONSerializer cannot be resolved to a type
      [Thread-6] [ERROR] JSONDeserializer cannot be resolved to a type
      [Thread-6] [ERROR] The import flexjson cannot be resolved
      [Thread-6] [ERROR] JSONSerializer cannot be resolved to a type
      [Thread-6] [ERROR] JSONDeserializer cannot be resolved to a type
      [Thread-6] [ERROR] JSONSerializer cannot be resolved to a type
      [Thread-6] [ERROR] JSONDeserializer cannot be resolved to a type
      [Thread-6] [ERROR] The import flexjson cannot be resolved
      [Thread-6] [ERROR] JSONSerializer cannot be resolved to a type
      [Thread-6] [ERROR] JSONDeserializer cannot be resolved to a type
      [Thread-6] [ERROR] JSONSerializer cannot be resolved to a type
      [Thread-6] [ERROR] JSONDeserializer cannot be resolved to a type
      [Thread-6] [WARNING] advice defined in org.springframework.orm.jpa.aspectj.JpaExceptionTranslatorAspect has not been applied [Xlint:adviceDidNotMatch]
      [Thread-6] [WARNING] advice defined in org.springframework.mock.staticmock.AnnotationDrivenStaticEntityMockingControl has not been applied [Xlint:adviceDidNotMatch]
      [Thread-6] [WARNING] advice defined in org.springframework.mock.staticmock.AbstractMethodMockingControl has not been applied [Xlint:adviceDidNotMatch]
      [Thread-6] [INFO] ------------------------------------------------------------------------
      [Thread-6] [ERROR] BUILD ERROR
      [Thread-6] [INFO] ------------------------------------------------------------------------
      [Thread-6] [INFO] Compiler errors :
      [Thread-6] error at import flexjson.JSONDeserializer;
      [Thread-6] ^^^^^^^oo>
      [Thread-6] /home/stewarta/projects/roo-test/expenses/src/main/java/com/springsource/extrack/server/domain/Employee_Roo_Json.aj:4:0::0 The import flexjson cannot be resolved
      [Thread-6] error at import flexjson.JSONSerializer;
      [

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sschmidt Stefan Schmidt
              Reporter:
              stewarta Alan Stewart
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: