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

Compile fails on JDK 1.8

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 1.3.0.RELEASE
    • Component/s: None
    • Labels:
      None

      Description

      I am using Spring Roo 1.2.5.RELEASE on OS X 10.9.2 and java version 1.8.0_05.

      I generated a project and added an entity with automatically generated integration tests. After triggering a "perform tests" the compile goal failed (complete log file attached):

      [ERROR] The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files
      [ERROR] java.util.Arrays cannot be resolved to a type
      [ERROR] The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files

      Changing the aspectj.version property in the pom.xml from 1.7.4 to 1.8.0 resolved the issue.

        Attachments

        1. log.txt
          3 kB
          Sascha Fröhlich

          Issue Links

            Activity

              People

              Assignee:
              eruiz Enrique Ruiz (DiSiD)
              Reporter:
              saschafroehlich Sascha Fröhlich
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: