Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
trunk
-
None
-
None
-
None
Description
Steps:
- git clone ...atlas.git
- mvn -DskipTests clean install
With:
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)
Error:
[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]