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

Nixon Rodrigues commented on ATLAS-2966:
----------------------------------------

[~nelsonc], Build was successful with java11 and Atlas server come up properly 
and was able to access the rest api's.

But there is issue in accessing login.jsp page with Error compiling file with 
below msg

 
{code:java}
2019-04-22 12:48:30,913 ERROR - [pool-2-thread-8 - 
b3691147-1ce2-4b4c-b771-75cda1d9157c:] ~ Error compiling file: 
/tmp/jetty-0.0.0.0-21000-atlas-_-any-16282969905628703663.dir/jsp/org/apache/jsp/login_jsp.java
 (Compiler:391)
2019-04-22 12:48:30,996 ERROR - [pool-2-thread-8:] ~ Error compiling file: 
/tmp/jetty-0.0.0.0-21000-atlas-_-any-16282969905628703663.dir/jsp/org/apache/jsp/error_jsp.java
 (Compiler:391)
 {code}
 

cc: [~ashutoshm]

> 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: 20m
>  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.3#76005)

Reply via email to