警告:将属性'source'设置为'org.eclipse.jst.jee.server:appname'没有找到匹配的属性 [英] WARNING: Setting property 'source' to 'org.eclipse.jst.jee.server:appname' did not find a matching property
问题描述
嗨家伙
当试图运行我的应用程序与eclipse / linux apache tomcat在我的本地主机
应用程序运行正常,但我得到以下警告
hi guys 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
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不知道从上下文中的源
属性的作用。
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 Tools Platform)设置为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
中的每个未知标记生成警告(即源
属性),这是警告的源。你可以安全地忽略它。
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屋!