“设置属性规则"从 Eclipse 启动 Tomcat 时的警告消息 [英] "SetPropertiesRule" warning message when starting Tomcat from Eclipse

查看:26
本文介绍了“设置属性规则"从 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]{Server/Service/Engine/Host/Context}将属性源"设置为'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.

这篇关于“设置属性规则"从 Eclipse 启动 Tomcat 时的警告消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆