简体   繁体   中英

Spring Boot2 and Netflix Zuul

Someone already set up Spring Boot 2 Release and spring-cloud-starter-netflix-zuul?

If I add this dependency in pom file then I have a runtime error: NoSuchFieldError: BINDER_BEAN_NAME .

<dependency>
    <groupId>org.springframework.cloud</groupId>
    <artifactId>spring-cloud-netflix-zuul</artifactId>
    <version>2.0.0.M6</version>
</dependency>

This might be because of dependency management.

Trying adding the dependency management in pom.xml

<properties>
   <spring-cloud.version>Finchley.M7</spring-cloud.version>
</properties>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM