Search code examples
springspring-bootspring-cloudhystrixspring-boot-chaos-monkey

Spring Boot chaosmonkey


I am trying to use chaos monkey with spring boot but getting the following error. Has anyone used it with spring cloud and Hystrix to test the fallback? Not able to start the server.

Caused by: org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'chaosMonkeyRequestScope': Requested bean is currently in creation: Is there an unresolvable circular reference?

I am using the following version :

springBootVersion = '2.1.2.RELEASE'
springCloudVersion= "Greenwich.SR3"
"de.codecentric:chaos-monkey-spring-boot:2.1.0"

Solution

  • what I found, spring starter web dependency was missing somehow and everything was working fine except chaos money.