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

java.lang.NoSuchMethodError: io.netty.channel.epoll.EpollEventLoop.deadlineNanos()J #14059

Closed
henry-sun opened this issue May 20, 2024 · 4 comments

Comments

@henry-sun
Copy link

sorry,my english is not very well:

2024.05.20 13:28:57.911 INFO 28446 --- [ioEventLoopGroup-5-1] i.n.u.i.l.Slf4JLogger : Starting with epoll library
2024.05.20 13:28:57.914 INFO 28446 --- [ioEventLoopGroup-5-1] i.n.u.i.l.Slf4JLogger : Starting without optional kqueue library
2024.05.20 13:28:57.958 WARN 28446 --- [e-epollEventLoop-6-1] i.n.u.i.l.Slf4JLogger : Unexpected exception in the selector loop.
java.lang.NoSuchMethodError: io.netty.channel.epoll.EpollEventLoop.deadlineNanos()J
at io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:243)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:269)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
2024.05.20 13:28:58.959 WARN 28446 --- [e-epollEventLoop-6-1] i.n.u.i.l.Slf4JLogger : Unexpected exception in the selector loop.
java.lang.NoSuchMethodError: io.netty.channel.epoll.EpollEventLoop.deadlineNanos()J
at io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:243)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:269)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)

@henry-sun
Copy link
Author

my project run well in my local env,my local env is windows,but when move to linux server,it appear the problem

@chrisvest
Copy link
Contributor

Make sure your Netty dependencies are the same version.

@normanmaurer
Copy link
Member

Yes this looks like a version missmatch

@henry-sun
Copy link
Author

thans for your answer,i try to change my project's netty version as same as "spring-boot-starter-redis" 's netty version,it work!

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

3 participants