Could not publish server configuration for Tomcat v6.0 Server at localhost

Could not publish server configuration for Tomcat v6.0 Server at localhost.

  经常在使用tomcat服务器的时候 总会发生一些莫名其妙的错误。

  就像下面这个错误: 在配置文件中存在多个/MyWeb的配置,导致不能发布服务。

  错误信息:

  Could not publish server configuration for Tomcat v6.0 Server at localhost.
Multiple Contexts have a path of "/MyWeb".

  848x558

  解决方案:

  如果是使用的eclipse tomcat 插件,需要在你的工作空间 找到如下文件:

  ${WoskSpace}/.metadata\.plugins\org.eclipsr\e\tmp0\conf\server.xml文件。

  如果是Tomcat单独服务器就需要找Tomcat的安装目录:

  ${Tomcat_home}\apache-tomcat-6.0.37\conf\server.xml

  然后打开此文件:

  
1106x218
看到了吧 存在2个相同的path=“/MyWeb” 。 移除其中一个就OK了,然后 重新启动Tomcat服务!

posted @   silentmuh  阅读(91)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
Live2D
欢迎阅读『Could not publish server configuration for Tomcat v6.0 Server at localhost』
  1. 1 Walk Thru Fire Vicetone
  2. 2 爱你 王心凌
  3. 3 Inspire Capo Productions - Serenity
  4. 4 Welcome Home Radical Face
  5. 5 粉红色的回忆 李玲玉
Welcome Home - Radical Face
00:00 / 00:00
An audio error has occurred, player will skip forward in 2 seconds.

作词 : Ben P. Cooper

作曲 : Cooper

Sleep don't visit, so I choke on sun

And the days blur into one

And the backs of my eyes hum with things I've never done

Sheets are swaying from an old clothesline

Was never much but we've made the most

Welcome home

Ships are launching from my chest

Some have names but most do not

If you find one,please let me know what piece I've lost

Heal the scars from off my back

I don't need them anymore

You can throw them out or keep them in your mason jars

I've come home

All my nightmares escaped my head

Bar the door, please don't let them in

You were never supposed to leave

Now my head's splitting at the seams

And I don't know if I can

Here, beneath my lungs

I feel your thumbs press into my skin again

点击右上角即可分享
微信分享提示