【发布时间】:2019-04-02 18:26:10
【问题描述】:
我有一个项目,我使用 Spring Boot 2.0.0+、Spring Boot Cache、Apache Ignite、Spring Boot Actuator 和 TestNG。
自从我从 ignite 2.5 升级到 ignite 2.6+ 后,我在尝试运行应用程序测试时遇到了问题,因为每次应用程序在测试任务上启动时,ignite 都无法在 @ 上注册它的缓存指标987654322@。
应用程序失败并出现以下异常:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.actuate.autoconfigure.metrics.cache.CacheMetricsRegistrarConfiguration': Invocation of init method failed; nested exception is java.lang.AssertionError
我已经创建了一个展示这个问题的应用程序,你可以通过这个链接访问它:
https://github.com/pmrochaubi/apache-ignite-spring-boot-actuator
谁能解释一下发生了什么以及如何解决这个问题?目前我被困在 2.5 版...
干杯
【问题讨论】:
标签: java spring-boot testng ignite spring-boot-actuator