Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
@PostConstruct annotation is removed from JDK (it's Java EE) in the recent JDKs.
It's used by the Configuration annotation but we don't need to use Java EE annotations:
[INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project hadoop-hdds-config: Compilation failure: Compilation failure: [ERROR] /Users/sbanerjee/ozone_fork/hadoop-hdds/config/src/main/java/org/apache/hadoop/hdds/conf/ConfigurationReflectionUtil.java:[20,24] cannot find symbol [ERROR] symbol: class PostConstruct [ERROR] location: package javax.annotation [ERROR] /Users/sbanerjee/ozone_fork/hadoop-hdds/config/src/main/java/org/apache/hadoop/hdds/conf/ConfigurationReflectionUtil.java:[139,38] cannot find symbol [ERROR] symbol: class PostConstruct
Thanks Shashikant for the bug report.
Attachments
Issue Links
- links to