In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly explains "what is the cause of the error of reactor-netty". The content of the explanation in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "what is the reason for the error of reactor-netty".
Background
The almost identical code has been tested in another project and then migrated to another project, and the associated pom dependencies are the same (only r2dbc-related pom is copied). But there was an inexplicable error, and the tracking code had no clue.
Error representation
Io.netty.channel.AbstractChannel$AbstractUnsafe.ensureOpen (ChannelPromise) (Unknown Source)
Root cause
The reactor-core version is too low. You still can't find what went wrong with the code during debugging (because there was nothing wrong with the code), but during the trace, you stumbled upon some versions of the jar package that were different between the two projects. Although the code you debugged is the same, change it to be consistent in the spirit of trying. Every time a jar package version is debugged, one is modified at the same time, and after being modified to reactor-core, this problem is finally solved. Later, if you look at the pom dependency of reactor-netty, you can see that the version of reactor-core is indeed higher than the reactor-core version when an error was reported.
Summary
When you encounter some inexplicable problems and the tracking code cannot find a clue, you can try to troubleshoot pom's jar package dependencies. Be sure to check through maven's dependency tree, because some indirectly dependent underlying jar packages do not show references, but multiple upper-level jar may rely on different versions of the underlying jar, resulting in uncertainty about the underlying jar version on which the project depends.
Thank you for your reading, the above is the content of "what is the reason for the error of reactor-netty". After the study of this article, I believe you have a deeper understanding of what is the cause of the error of reactor-netty, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un