eclipse启动tomcat出现警告:Setting property 'source' to 'org.eclipse.jst.jee.server:工程名' did not find a matching property
来源:互联网 发布:medibang软件 编辑:程序博客网 时间:2024/05/20 22:02
出现此问题原因:
[SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:工程名s' did not find a matching property.
这是因为我们在eclipse下,通过tomcat部署web工程时,tomcat的配置文件server.xml中会自动生成一个关于该web工程的配置信息,类似于下面的东西:
Xml代码
view plaincopy to clipboardprint?
<Context docBase="工程名" path="/工程名" reloadable="true" source="org.eclipse.jst.jee.server:工程名"/>
s而默认情况下,server.xml的 Context元素不支持名称为source的属性,所以会发出警告。
本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/democreen/archive/2011/04/02/6296907.aspx
解决办法:
1.首先,确保你的服务是出于关闭的状态;
2.双击你 eclipse 下方 Servers 卡片里的服务器,比如我的是 Tomcat v6.0 Server at localhost,双击后将弹出一个关于此服务器配置信息的预览窗口;
3.在该窗口下方有个 Server Options 卡片,请将 Publish module contexts to separate XML files 前面的复选框勾上并保存;
4.重新启动你的服务,此时查看 eclipse 控制台信息,发现那刺眼的红色警告信息没有了,这说明问题解决了。
- eclipse启动tomcat出现警告:Setting property 'source' to 'org.eclipse.jst.jee.server:工程名' did not find a matching property
- Setting property 'source' to 'org.eclipse.jst.jee.server:webProject' did not find a matching property
- Setting property 'source' to 'org.eclipse.jst.jee.server:jeecg' did not find a matching property
- Setting property 'source' to 'org.eclipse.jst.jee.server:test' did not find a matching property
- Setting property 'source' to 'org.eclipse.jst.jee.server: ' did not find a matching property
- Setting property 'source' to 'org.eclipse.jst.jee.server:JCMS2722' did not find a matching property.
- 警告: Setting property 'source' to 'org.eclipse.jst.jee.server:ASW' did not find a matching property
- Setting property 'source' to 'org.eclipse.jst.jee.server:webProject' did not find a matching propert
- Setting property 'source' to 'org.eclipse.jst.jee.server:webProject' did not find a matching propert
- Setting property 'source' to 'org.eclipse.jst.jee.server:webProject' did not find a matching propert
- Setting property 'source' to 'org.eclipse.jst.jee.server:webProject' did not find a matching propert
- Setting property 'source' to 'org.eclipse.jst.jee.server:webProject' did not find a matching propert
- Setting property 'source' to 'org.eclipse.jst.jee.server:webProject' did not find a matching propert
- Setting property 'source' to 'org.eclipse.jst.jee.server:webProject' did not find a matching propert
- Setting property 'source' to 'org.eclipse.jst.jee.server:webProject' did not find a matching propert
- Setting property 'source' to 'org.eclipse.jst.jee.server:webProject' did not find a matching propert
- Setting property 'source' to 'org.eclipse.jst.jee.server:web' did not find a matching property原因?
- :Setting property 'source' to 'org.eclipse.jst.jee.server:web' did not find a matching property原因?
- 编程求解,输入两个整数n和m,从数列1,2,3,……n中随意取几个数,使其和等于m。要求将所有的可能组合列出来(背包问题求解)
- 数据结构与算法学习之链表
- lisa固定点一般化(失败了)
- BE 备份exchange 2007 故障
- Ajax GET 和 POST 的使用
- eclipse启动tomcat出现警告:Setting property 'source' to 'org.eclipse.jst.jee.server:工程名' did not find a matching property
- linux内核驱动模块的调试技术总结
- 產品經理的主要職責
- 移动设备界面开发: 专业Android, iPhone, iPad, Palm Pre设计工具箱
- [转载]JQuery弹窗窗口插件
- Kyoto Cabinet 基本规格书
- C#xml的一些简单处理0.0增删改查及放入listview
- VLC播放H264文件问题
- 多数职场人愿“为钱折腰”