Failed to bind NettyServer on ×××,cause: io/netty/bootstrap/ServerBootstrap

简介: Failed to bind NettyServer on ×××,cause: io/netty/bootstrap/ServerBootstrap

初学dubbo,在创建项目后运行时总报错java.lang.NoClassDefFoundError: io/netty/channel/nio/NioEventLoopGroup


找了半天资料,发现问题大致有


1、QoS无法启动(解决方案:关于dubbo无法启动QoS服务器:,dubbo版本:2.6.5,当前主机:192.xxx.xxx.xxx。 java.net.BindException: Address already in use: bind - 我真的看不懂 - 博客园)


2、绑定端口被占用(解决方案:解决com.alibaba.dubbo.rpc.RpcException: Fail to start server(url: dubbo://192.168.194.1:20880/...报错方案_林深见喵的博客-CSDN博客_com.alibaba.dubbo.rpc.rpcexception)


但是虽然错误信息都是Failed to bind NettyServer on ×××,cause: io/netty/bootstrap/ServerBootstrap,我的错误详细日志却显而易见是依赖未注入问题,后尝试添加netty的最新包,问题得以解决


附:阿里源Maven地址(仓库服务)


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




相关文章
|
10月前
|
网络协议 Linux 网络安全
weavescope curl -L git.io/scope -o /usr/local/xx failed to connect to 2001: Network is unreachable
weavescope curl -L git.io/scope -o /usr/local/xx failed to connect to 2001: Network is unreachable
137 0
|
Java Spring
【Spring常见错误】Initialization failed for ‘https://start.spring.io‘
📋📋 精彩摘要:新建SpringBoot项目时,使用官网连接创建项目报错: Initialization failed for 'https://start.spring.io' Please check URL, network and proxy settings. 本文将提供两种解决方式参考。
8854 0
【Spring常见错误】Initialization failed for ‘https://start.spring.io‘
|
10月前
|
机器学习/深度学习 前端开发 JavaScript
源映射错误:Error: request failed with status 404 源 URL:http://localhost:8080/bootstrap/js/axios-0.18.0.js
源映射错误:Error: request failed with status 404 源 URL:http://localhost:8080/bootstrap/js/axios-0.18.0.js
175 0
源映射错误:Error: request failed with status 404 源 URL:http://localhost:8080/bootstrap/js/axios-0.18.0.js
|
3月前
|
关系型数据库 MySQL Linux
升级到MySQL 8.4,MySQL启动报错:io_setup() failed with EAGAIN
当MySQL 8.4启动时报错“io_setup() failed with EAGAIN”时,通常是由于系统AIO资源不足所致。通过增加AIO上下文数量、调整MySQL配置、优化系统资源或升级内核版本,可以有效解决这一问题。上述解决方案详细且实用,能够帮助管理员快速定位并处理此类问题,确保数据库系统的正常运行。
177 9
|
7月前
|
Java Spring
成功解决Initialization failed for ‘https://start.spring.io‘ Please check URL, network and proxy settings
这篇文章提供了解决Spring Initializr网站初始化失败问题的方法,包括检查URL、网络和代理设置。
成功解决Initialization failed for ‘https://start.spring.io‘ Please check URL, network and proxy settings
|
10月前
|
Java Spring
Initialization failed for 'https://start.spring.io' Please check URL, network and proxy settings.
Initialization failed for 'https://start.spring.io' Please check URL, network and proxy settings.
1306 0
|
Java Spring
Initialization failed for ‘https://start.spring.io‘ Please check URL, network and proxy settings解决办法
Initialization failed for ‘https://start.spring.io‘ Please check URL, network and proxy settings解决办法
3830 1
Initialization failed for ‘https://start.spring.io‘ Please check URL, network and proxy settings解决办法
|
SQL Java 数据库连接
Mybatis:Error parsing SQL Mapper Configuration. Cause: java.io.IOException: Could not find resource
Mybatis:Error parsing SQL Mapper Configuration. Cause: java.io.IOException: Could not find resource
|
前端开发 Python
解决报错:Websocket connection to‘ws://127.0.0.1:5000/socket.io/?EIO=4&transport=websocket’failed:Error
报错全文为:Websocket connection to‘ws://127.0.0.1:5000/socket.io/?EIO=4&transport=websocket’failed:Error during Websocket handshake:Unexpected response code:400。如下图所示。
解决报错:Websocket connection to‘ws://127.0.0.1:5000/socket.io/?EIO=4&transport=websocket’failed:Error
|
Java Spring
spring cloud gateaway io.netty.channel.unix.Errors$NativeIoException: accept(..) failed: 打开的文件多
spring cloud gateaway io.netty.channel.unix.Errors$NativeIoException: accept(..) failed: 打开的文件多

热门文章

最新文章