" SetPropertiesRule"从Eclipse启动Tomcat时出现警告消息

问题描述:

当我从Eclipse(3.4)启动Tomcat(6.0.18)时,我收到此消息(首先在日志中):

When I start Tomcat (6.0.18) from Eclipse (3.4), I receive this message (first in the log):



[SetPropertiesRule] {服务器/服务/引擎/主机/上下文}
将属性'source'设置为
'org.eclipse.jst.jee.server:(项目名称) '
没有找到匹配的属性。

WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server: (project name)' did not find a matching property.

似乎这个消息没有任何严重的影响,但是有谁知道如何摆脱它?

Seems this message does not have any severe impact, however, does anyone know how to get rid of it?

这个问题的解决方案很简单。双击您的tomcat服务器。它将打开服务器配置。在服务器选项下,选中发布模块内容以分离XML文件复选框。重启服务器这一次,你的页面将会没有任何问题。

The solution to this problem is very simple. Double click on your tomcat server. It will open the server configuration. Under server options check ‘Publish module contents to separate XML files’ checkbox. Restart your server. This time your page will come without any issues.