Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API not compatible? #57

Open
GitPlayB opened this issue Jun 18, 2020 · 0 comments
Open

API not compatible? #57

GitPlayB opened this issue Jun 18, 2020 · 0 comments

Comments

@GitPlayB
Copy link

Hi there~
I'm a newbie to Netty. I just want to try some example code in the book. BUT unfortunately when I set all the dependencies up, I got some problems that seems to be an API incompatible issue.
I'm using exactly the same vesion of Netty as the author Norman.

<dependency>
    <groupId>io.netty</groupId>
    <artifactId>netty-all</artifactId>
    <version>4.1.12.Final</version>
</dependency>

But I got this when I'm writing the echo server, I found that ServerBootstrap$group() method is deprecated, hence the channel() method and methods after that are all unavailable.

EventLoopGroup group

It's really afflictive to someone who are new to this framework. Hopefully I get some help from here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant