New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ISSUE] When aliyun-rds-spring-boot-starter is integrated, the application cannot work #28
Comments
I provide a PR to fix it, #31 |
which sprint boot version you are using? |
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jmxMBeanExporter' defined in class path resource [org/springframework/boot/actuate/autoconfigure/endpoint/jmx/JmxEndpointAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.actuate.endpoint.jmx.JmxEndpointExporter]: Factory method 'jmxMBeanExporter' threw exception; nested exception is java.lang.IllegalStateException: Unable to map duplicate endpoint operations: [MBean call 'slow'] to rdsSlowEndpoint |
@mercyblitz Please pay attention to this problem. Thank you. |
Describe the bug
When aliyun-rds-spring-boot-starter is integrated, the application cannot work
To Reproduce
Steps to reproduce the behavior:
在应用上集成了aliyun-rds-spring-boot-starter后台,应用在启用过程中会抛出duplicate endpoint operations异常,例如:Factory method 'jmxMBeanExporter' threw exception; nested exception is java.lang.IllegalStateException: Unable to map duplicate endpoint operations: [MBean call 'slow'] to rdsSlowEndpoint。
同样的情况发生在RdsErrorEndpoint、RdsPerformanceEndpoint、RdsSlowEndpoint,
为了能正常工作,我认为在这三个类中,只需要对方法进行重命名即可
Aliyun RDS spring boot starter background is integrated in the application. During the application enabling process, duplicate endpoint operations exception will be thrown, such as factory method 'jmxmbeanexport' thread exception; nested exception is java.lang.illegalstateexception: unable to map duplicate endpoint operations: [MBean call 'slow'] to rdsslowendpoint.
The same situation occurs in rdserrorendpoint, rdspermanceendpoint, rdsslowendpoint
In order to work properly, I think in these three classes, but the method needs to be renamed
Expected behavior
A clear and concise description of what you expected to happen.
RDS健康指标能正常输出
RDS health indicators can be output normally
The text was updated successfully, but these errors were encountered: