question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update to Spring Cloud Brixton

See original GitHub issue

Hello,

found, that the next version of spring-cloud-netflix (Brixton Release Train) will break spring-boot-admin. Constructor of SimpleHostRoutingFilter changed from “public SimpleHostRoutingFilter(ProxyRequestHelper helper)” to “public SimpleHostRoutingFilter(ProxyRequestHelper helper, ZuulProperties properties)”

Stacktrace:

Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.cloud.netflix.zuul.filters.route.SimpleHostRoutingFilter]: Factory method 'simpleHostRoutingFilter' threw exception; nested exception is java.lang.NoSuchMethodError: org.springframework.cloud.netflix.zuul.filters.route.SimpleHostRoutingFilter.<init>(Lorg/springframework/cloud/netflix/zuul/filters/ProxyRequestHelper;)V
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189) ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588) ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    ... 47 common frames omitted
Caused by: java.lang.NoSuchMethodError: org.springframework.cloud.netflix.zuul.filters.route.SimpleHostRoutingFilter.<init>(Lorg/springframework/cloud/netflix/zuul/filters/ProxyRequestHelper;)V
    at de.codecentric.boot.admin.config.RevereseZuulProxyConfiguration.simpleHostRoutingFilter(RevereseZuulProxyConfiguration.java:71) ~[spring-boot-admin-server-1.3.3-SNAPSHOT.jar:1.3.3-SNAPSHOT]
    at de.codecentric.boot.admin.config.RevereseZuulProxyConfiguration$$EnhancerBySpringCGLIB$$231adb08.CGLIB$simpleHostRoutingFilter$3(<generated>) ~[spring-boot-admin-server-1.3.3-SNAPSHOT.jar:1.3.3-SNAPSHOT]
    at de.codecentric.boot.admin.config.RevereseZuulProxyConfiguration$$EnhancerBySpringCGLIB$$231adb08$$FastClassBySpringCGLIB$$e4bebeba.invoke(<generated>) ~[spring-boot-admin-server-1.3.3-SNAPSHOT.jar:1.3.3-SNAPSHOT]
    at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) ~[spring-core-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:355) ~[spring-context-4.2.5.RELEASE.jar:4.2.5.RELEASE]
    at de.codecentric.boot.admin.config.RevereseZuulProxyConfiguration$$EnhancerBySpringCGLIB$$231adb08.simpleHostRoutingFilter(<generated>) ~[spring-boot-admin-server-1.3.3-SNAPSHOT.jar:1.3.3-SNAPSHOT]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_72-internal]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_72-internal]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_72-internal]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_72-internal]
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162) ~[spring-beans-4.2.5.RELEASE.jar:4.2.5.RELEASE]

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
tjuchniewiczcommented, May 11, 2016

Snapshot works fine for me.

When can we expect release of 1.3.3? Brixton.RELEASE is available now.

3reactions
joshistecommented, May 11, 2016

snapshots are built. happy testing! 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spring Cloud Brixton.RELEASE is available
On behalf of the team, I am pleased to announce that the Spring Cloud Brixton Release Train has reached General Availability.
Read more >
Brixton.RELEASE - spring-cloud-dependencies
Spring Cloud Dependencies » Brixton.RELEASE ; pom (13 KB) View All · CentralAlfrescoJBoss PublicJCenterSonatypeSpring Releases · #17210 in MvnRepository (See Top ...
Read more >
Spring Cloud Brixton Release Notes - GitHub
Umbrella project for Spring Cloud. ... Spring Cloud Brixton builds on Spring Boot 1.3.x. ... See the updated documentation for details.
Read more >
Spring Cloud Brixton.RELEASE Is Available - DZone Integration
On behalf of the team, I am pleased to announce that the Spring Cloud Brixton Release Train has reached General Availability.
Read more >
spring cloud version Brixton.SR5 with spring boot 1.4
just import spring boot's 1.4 bom and spring cloud's bom into your pom.xml: <dependencyManagement> <dependency> ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found