Maven之Failure: Address already in use: bind-yellowcong
来源:互联网 发布:二元期权数据 编辑:程序博客网 时间:2024/06/10 03:33
启动Jetty的时候,发现报错
Failure: Address already in use: bind
,简单来说,就是端口占用了,我们需要查看是哪个玩意在占用端口,一般情况下是javaw.exe,可以直接执行taskkill /f /t /im javaw.exe
或taskkill /f /t /im java.exe
就可以杀死进程,释放端口了,如果上一个方法还不奏效,需要查看具体是那一个占用了
出现的错误
当发现出现端口占用的情况的时候,先看看自己的eclipse控制台,看看是不是重复启动了,如果不是,就需要查找端口,关闭8080端口占用的程序
[ERROR] Failed to execute goal org.eclipse.jetty:jetty-maven-plugin:9.4.6.v20170531:run (default-cli) on project demo: Failure: Address already in use: bind -> [Help 1][ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.[ERROR] Re-run Maven using the -X switch to enable full debug logging.[ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles:[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
解决办法
1、netstat -ano,列出所有端口的情况
2、查看被占用端口对应的程序,我查的是8080端口,那个pid是哪个程序占用了,tasklist|findstr “24072”
3、关闭这个程序,我们看到了,这个占用的程序是 javaw.exe,需要关闭他taskkill /f /t /im javaw.exe
4、再次启动服务器
端口绑定成功
阅读全文
0 0
- Maven之Failure: Address already in use: bind-yellowcong
- Bind: Address Already in Use
- Bind: Address Already in Use
- bind: Address already in use
- bind出现Address already in use解决方法
- linux bind: Address already in use
- linux bind error: address already in use
- bind出现Address already in use解决方法
- bind出现Address already in use解决方法
- linux bind: Address already in use(Z)
- linux bind: Address already in use(Z)
- 问题解决-Address already in use: bind
- bind: Address already in use 错误追踪
- dubbo Address already in use: bind 解决方案
- Address already in use: Cannot bind
- bind出现Address already in use解决方法
- bind函数错误:Address already in use
- Bind error: Address already in use
- 二级指针
- 多key业务,数据库水平切分架构一次搞定
- 如何快速打造淘宝爆款
- EasyTouch5中文翻译文档(我自己翻译的,不是机翻),如有错漏请@我更正纠错
- UVA 10033
- Maven之Failure: Address already in use: bind-yellowcong
- lua 正则表达式
- 树的存储结构(数据结构)
- 贝叶斯公式,最大似然和最大后验
- python 统计文件行数
- WEB开发----Spring Boot项目快速搭建
- SpringBoot简介-SpringBoot是什么可以做什么
- 数据结构链表基本操作
- socket详解