spring-cloud-samples / spring-cloud-gateway-sample

Sample Spring Cloud Gateway Application
Apache License 2.0
360 stars 235 forks source link

Import Error In GatewayAutoConfiguration.class #3

Open bigshi opened 5 years ago

bigshi commented 5 years ago

import reactor.ipc.netty.http.client.HttpClient; import reactor.ipc.netty.http.client.HttpClientOptions; import reactor.ipc.netty.options.ClientProxyOptions; import reactor.ipc.netty.resources.PoolResources;

Are these import package names correct? example: I noticed that HttpClient.class package name is reactor.netty.http.client in reactor-netty-0.8.2.RELEASE.jar

bigshi commented 5 years ago

`

org.springframework.boot spring-boot-starter-webflux

` org.springframework.boot:spring-boot-starter-webflux:2.1.0.RELEASE org.springframework.boot:spring-boot-starter-reactor-netty:2.1.0.RELEASE io.projectreactor.netty:reactor-netty:0.8.2.RELEASE

`

    <dependency>
        <groupId>io.projectreactor.ipc</groupId>
        <artifactId>reactor-netty</artifactId>
        <version>0.7.10.RELEASE</version>
    </dependency>

` Maybe you need to add it separately