You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/07/23 22:52:00 UTC

[jira] [Commented] (ATLAS-2966) Unable to build against Java 11

    [ https://issues.apache.org/jira/browse/ATLAS-2966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16891439#comment-16891439 ] 

ASF subversion and git services commented on ATLAS-2966:
--------------------------------------------------------

Commit 243e1562d2e695d7ff7614d1e5e4af4b6c6734ed in atlas's branch refs/heads/master from Nelson Costa
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=243e156 ]

ATLAS-2966: Fixed bug on Java 11 build


> Unable to build against Java 11
> -------------------------------
>
>                 Key: ATLAS-2966
>                 URL: https://issues.apache.org/jira/browse/ATLAS-2966
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: trunk
>            Reporter: Nelson Costa
>            Priority: Major
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Steps:
>  * git clone ...atlas.git
>  * mvn -DskipTests clean install
> With:
> {noformat}
> java 11.0.1 2018-10-16 LTS
> Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)
> Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)
> {noformat}
> Error:
> {noformat}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project atlas-common: Compilation failure: Compilation failure:
> [ERROR] /Users/nelsonc/projects/atlas/common/src/main/java/org/apache/atlas/service/Services.java:[27,24] cannot find symbol
> [ERROR]   symbol:   class PostConstruct
> [ERROR]   location: package javax.annotation
> [ERROR] /Users/nelsonc/projects/atlas/common/src/main/java/org/apache/atlas/service/Services.java:[28,24] cannot find symbol
> [ERROR]   symbol:   class PreDestroy
> [ERROR]   location: package javax.annotation
> [ERROR] /Users/nelsonc/projects/atlas/common/src/main/java/org/apache/atlas/service/Services.java:[57,6] cannot find symbol
> [ERROR]   symbol:   class PostConstruct
> [ERROR]   location: class org.apache.atlas.service.Services
> [ERROR] /Users/nelsonc/projects/atlas/common/src/main/java/org/apache/atlas/service/Services.java:[74,6] cannot find symbol
> [ERROR]   symbol:   class PreDestroy
> [ERROR]   location: class org.apache.atlas.service.Services
> [ERROR] -> [Help 1]
> {noformat}
> See:
>  [https://stackoverflow.com/questions/46502001/how-to-get-access-to-javax-annotation-resource-at-run-time-in-java-9/46502132] 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)