警告:将属性 'source' 设置为 'org.eclipse.jst.jee.server:appname' 没有找到匹配的属性 [英] WARNING: Setting property 'source' to 'org.eclipse.jst.jee.server:appname' did not find a matching property
问题描述
尝试在本地主机上的 apache tomcat 上使用 eclipse/linux 运行我的应用程序时应用程序运行良好,但我收到以下警告:
When trying to run my app with eclipse/linux on apache tomcat on my local host the application runs fine but, I got the following warning:
警告:[SetPropertiesRule]{Server/Service/Engine/Host/Context} 将属性source"设置为org.eclipse.jst.jee.server:appname"没有找到匹配的属性.
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:appname' did not find a matching property.
任何想法这个警告意味着什么,如何解决它?
any ideas what does this warning means, how to resolve it?
推荐答案
尽管这个问题比较老,但我不得不处理类似的警告并想分享我的发现.
Despite this question being rather old, I had to deal with a similar warning and wanted to share what I found out.
首先,这是一个警告,而不是一个错误.所以没有必要太担心它.基本上这意味着,Tomcat 不知道如何处理上下文中的 source
属性.
First of all this is a warning and not an error. So there is no need to worry too much about it. Basically it means, that Tomcat does not know what to do with the source
attribute from context.
这个 source
属性由 Eclipse(或者更具体地说是 Eclipse Web 工具平台)设置到 Tomcat 的 server.xml
文件,以匹配正在运行的应用程序工作区中的一个项目.
This source
attribute is set by Eclipse (or to be more specific the Eclipse Web Tools Platform) to the server.xml
file of Tomcat to match the running application to a project in workspace.
Tomcat 为 server.xml
(即 source
属性)中的每个未知标记生成警告,这就是警告的来源.您可以放心地忽略它.
Tomcat generates a warning for every unknown markup in the server.xml
(i.e. the source
attribute) and this is the source of the warning. You can safely ignore it.
这篇关于警告:将属性 'source' 设置为 'org.eclipse.jst.jee.server:appname' 没有找到匹配的属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!