Uploaded image for project: 'Apache Lens (Retired)'
  1. Apache Lens (Retired)
  2. LENS-538

master compilation failing on Java6

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.2
    • 2.2
    • build
    • None

    Description

      Here is the error I'm hitting :

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project lens-server-api: Compilation failure
      [ERROR] /Users/amareshwari.sr/workspace/lens/lens-server-api/src/main/java/org/apache/lens/server/api/error/LensException.java:[154,23] cannot find symbol
      [ERROR] symbol  : method <org.apache.lens.api.response.NoErrorPayload>composedOf(int,java.lang.String,java.lang.String)
      [ERROR] location: class org.apache.lens.api.response.LensErrorTO
      [ERROR] -> [Help 1]
      [ERROR] 
      

      Either we should fix the compilation or remove support for java6 fully

      Attachments

        1. LENS-538.patch
          1 kB
          Amareshwari Sriramadasu

        Activity

          People

            amareshwari Amareshwari Sriramadasu
            amareshwari Amareshwari Sriramadasu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: