You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org> on 2015/05/06 09:28:59 UTC

[jira] [Updated] (LENS-538) master compilation failing on Java6

     [ https://issues.apache.org/jira/browse/LENS-538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amareshwari Sriramadasu updated LENS-538:
-----------------------------------------
    Attachment: LENS-538.patch

Attached patch fixed the compilation issue for me.

Not raising a review request, as the patch is straightforward

> master compilation failing on Java6
> -----------------------------------
>
>                 Key: LENS-538
>                 URL: https://issues.apache.org/jira/browse/LENS-538
>             Project: Apache Lens
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 2.2
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Himanshu Gahlaut
>            Priority: Critical
>             Fix For: 2.2
>
>         Attachments: LENS-538.patch
>
>
> Here is the error I'm hitting :
> {noformat}
> [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] 
> {noformat}
> Either we should fix the compilation or remove support for java6 fully



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)