开发者

WARNING: Setting property 'source' to 'org.eclipse.jst.jee.server:appname' did not find a matching property [duplicate]

This question already has answers here: Se开发者_开发百科tting property 'source' to 'org.eclipse.jst.jee.server:JSFTut' did not find a matching property (8 answers) Closed 7 years ago.

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.

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.

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 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.


You can change the eclipse tomcat server configuration. Open the server view, double click on you server to open server configuration. Then click to activate "Publish module contents to separate XML files". Finally, restart your server, the message must disappear.

Source: http://www.albeesonline.com/blog/2008/11/29/warning-setpropertiesruleserverserviceenginehostcontext-setting-property/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜