Failed to initialize end point associated with ProtocolHandler
2016-04-19 15:31
519 查看
Failed to initialize end point associated with ProtocolHandler [“http-bio-8080”]
在学习struts2中,搭建struts框架并创建第一个实例的时候,在MyEclipse中启动Tomcat时出现错误,错误信息如下:严重: Failed to initialize end point associated with ProtocolHandler [“http-bio-8080”]
这是由于8080端口冲突导致的。
网上都说是:关掉MyEclipse后,打开任务管理器,将名字为javaw.exe的进程全部结束。然后重新打开MyEclipse,启动Tomcat就可以了。
根据上面的方法尝试了下,发现仍然不行,由于是因为冲突而引起的,我就查看了下到底是哪个程序的占有了8080端口。结果如下,从图中可以看出,是chrome浏览器这个程序占用了本机的8080端口。
因此,基于上面的发现,解决方法为:更改tomcat安装目录下的/conf/server.xml的8080端口改为其它的(我自己改为了8081端口)。
这样tomcat就能够正常启动了。
相关文章推荐
- Jenkins进阶系列之——01使用email-ext替换Jenkins的默认邮件通知
- monodb因 /usr/lib64/libssl.so.10: no version information available原因不能连接的问题
- No valid signing identities (i.e. certificate and private key pair) matching the team ID “(null)” were found.
- Paint及Canvas的简单应用
- light Oj 1071 - Baker Vai(记忆化搜索)
- hdoj 1789 Doing Homework again
- 提示:Failure [INSTALL_FAILED_ALREADY_EXISTS]
- unresolved external symbol _Winmain@16问题解决办法
- 设计模式总结之职责链模式 (Chain of responsibility)
- 为什么要内存对齐 Data alignment: Straighten up and fly right
- UVA_474_Heads / Tails Probability
- 关于AIR新浪登录测试
- Failed to resolve attribute at index 6
- flask框架配置email问题汇总,包括163邮箱,qq邮箱,gmail等国内外邮箱
- 找不到dlopen failed: library "/data/data/com.example.gpstest1/lib/libgnustl_shared.so" not found
- assign、weak、strong、retain、__block、__weak
- TypedArray和obtainStyledAttributes使用
- Win7 SSH Secure connect Ubuntu: server responded algorithm negotiation failed
- BZOJ2434 [Noi2011]阿狸的打字机(AC自动机 + fail树 + DFS序 + 线段树)
- R-CNN笔记2:rcnn_train.m文件