views:

19

answers:

1

I am getting following error, when I run the demo JSF application on the console

[SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:JSFTut' did not find a matching property.
+1  A: 

This is not an error. This is a warning. The difference is pretty huge. You seem to be using Eclipse and Tomcat (in the future, mention and tag as such). This particular warning basically means that the <context> element contains an unknown attribute source and that Tomcat doesn't know what to do with it.

Eclipse WTP adds a custom attribute source to the project related <context> element in the server.xml of Tomcat which identifies the source of the context (the actual project in the workspace which has this server definied). This way Eclipse can correlate the deployed webapplication with an project in the workspace. Since Tomcat version 6.0.16 any unspecified XML tags and attributes in the server.xml will produce a warning during the startup, even though there is no DTD.

Just ignore it. Your web project is fine. It should run fine. This issue is completely unrelated to JSF.

BalusC