You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/05/25 05:21:35 UTC

[GitHub] [rocketmq] aaron-ai opened a new issue, #4372: Failed to compile with JDK9+

aaron-ai opened a new issue, #4372:
URL: https://github.com/apache/rocketmq/issues/4372

   `javax.annotation` was removed in java9+, which makes the `test` module could not be compiled in the subsequent version.
   
   Introducing `org.apache.tomcat:annotations-api` which is under Apache 2 license could solve this issue.
   
   ```
   [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) on project rocketmq-test: Compilation failure: Compilation failure: 
   [ERROR] /Users/aiyangkun/Dev/repo/apache_rocketmq/test/src/main/java/org/apache/rocketmq/test/util/StatUtil.java:[32,24] 找不到符号
   [ERROR]   符号:   类 Generated
   [ERROR]   位置: 程序包 javax.annotation
   [ERROR] /Users/aiyangkun/Dev/repo/apache_rocketmq/test/src/main/java/org/apache/rocketmq/test/util/StatUtil.java:[39,2] 找不到符号
   [ERROR]   符号: 类 Generated
   [ERROR] -> [Help 1]
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq] duhenglucky closed issue #4372: Failed to compile with JDK9+

Posted by GitBox <gi...@apache.org>.
duhenglucky closed issue #4372: Failed to compile with JDK9+
URL: https://github.com/apache/rocketmq/issues/4372


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org