These are chat archives for spring-cloud/spring-cloud

11th
Jun 2016
Thibaud Lepretre
@kakawait
Jun 11 2016 11:59
I have a small issue on spring-cloud app (spring-boot:1.3.5 & spring-cloud:Brixton.RELEASE)
that only occurs when running basic test contextLoads() (no problem with runtime)
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected org.springframework.boot.autoconfigure.web.ServerProperties org.springframework.cloud.netflix.zuul.ZuulConfiguration.server; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.springframework.boot.autoconfigure.web.ServerProperties] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
I saw an issue spring-cloud/spring-cloud-netflix#821
but resolved
Włodzimierz Rożkow
@rozhok
Jun 11 2016 12:14
This message was deleted
This message was deleted