ffff121 opened a new issue #47: URL: https://github.com/apache/rocketmq-exporter/issues/47
**Describe the bug** 1. clone code 2. exec "mvn package -Dmaven.test.skip=true docker:build" when i want to get image. maven print error like this: ``` [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ rocketmq-exporter --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 31 source files to D:\02.src\100.rocketmq-exporter\rocketmq-exporter\target\classes [INFO] /D:/02.src/100.rocketmq-exporter/rocketmq-exporter/src/main/java/org/apache/rocketmq/exporter/service/client/MQAdminExtImpl.java: 某些输入文件使用或覆盖了已过时的 API。 [INFO] /D:/02.src/100.rocketmq-exporter/rocketmq-exporter/src/main/java/org/apache/rocketmq/exporter/service/client/MQAdminExtImpl.java: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。 [INFO] /D:/02.src/100.rocketmq-exporter/rocketmq-exporter/src/main/java/org/apache/rocketmq/exporter/task/ClientMetricCollectorFixedThreadPoolExecutor.java: D:\02.src\100.rocketmq-exporter\rocketmq-exporter\src\main\java\org\apache\rocketmq\exporter\task\ClientMetricCollectorFixedThreadPoolExecutor.java使用了未经检查或不安全的操作。 [INFO] /D:/02.src/100.rocketmq-exporter/rocketmq-exporter/src/main/java/org/apache/rocketmq/exporter/task/ClientMetricCollectorFixedThreadPoolExecutor.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。 [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /D:/02.src/100.rocketmq-exporter/rocketmq-exporter/src/main/java/org/apache/rocketmq/exporter/service/client/MQAdminExtImpl.java:[79,8] org.apache.rocketmq.exporter.service.client.MQAdminExtImpl不是抽象的, 并且未覆盖org.apache.rocketmq.tools.admin.MQAdminExt中的抽象方法resumeCheckHalfMessage(java.lang.String,java.lang.String) [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5.161 s [INFO] Finished at: 2020-12-29T09:42:23+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project rocketmq-exporter: Compilation failure [ERROR] /D:/02.src/100.rocketmq-exporter/rocketmq-exporter/src/main/java/org/apache/rocketmq/exporter/service/client/MQAdminExtImpl.java:[79,8] org.apache.rocketmq.exporter.service.client.MQAdminExtImpl不是抽象的, 并且未覆盖org.apache.rocketmq.tools.admin.MQAdminExt中的抽象方法resumeCheckHalfMessage(java.lang.String,java.lang.String) [ERROR] [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException ``` **Desktop (please complete the following information):** - OS: window10 - maven: 3.6.3 - jdk: 11 - docker: 18.03.0-ce, build 0520e24302 need help. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
