iamqq23ue opened a new issue #40:
URL: https://github.com/apache/rocketmq-exporter/issues/40
When i execute mvn clean install,an error is reported during compilation,the
log is as follows。
Modify pom.xml to
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
change into
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>1.5.7.RELEASE</version>
</plugin>
No more errors. But the setting in parent is also 2.1.2, I want to know why?
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.2.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
error log:
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 9.231 s
[INFO] Finished at: 2020-11-06T15:54:59+08:00
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.springframework.boot:spring-boot-maven-plugin:2.1.2.RELEASE:repackage
(repackage) on project rocketmq-exporter: Execution repackage of goal
org.springframework.boot:spring-boot-maven-plugin:2.1.2.RELEASE:repackage
failed: A required class was missing while executing
org.springframework.boot:spring-boot-maven-plugin:2.1.2.RELEASE:repackage:
org/apache/maven/shared/utils/StringUtils
[ERROR] -----------------------------------------------------
[ERROR] realm =
plugin>org.springframework.boot:spring-boot-maven-plugin:2.1.2.RELEASE
----------------------------------------------------------------
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]