jQuery in Action, 2nd edition*
The moose likes JSF and the fly likes Face-config.xml file can not be found in netbeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Face-config.xml file can not be found in netbeans" Watch "Face-config.xml file can not be found in netbeans" New topic
Author

Face-config.xml file can not be found in netbeans

Farhad Rahmati
Ranch Hand

Joined: Dec 16, 2010
Posts: 96
Hello everyone,

I have just started Java EE 6, I am following some tutorials on the internet. I need to manage navigation and I really need to edit face-config.xml file. Can any one help me to find it.

I am using, JSF 2. and I know it does not require, but in my case it may require as it is not working by default.

Thanks
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15950
    
  19

The default name of the JSF config file is WEB-INF/faces-config.xml. And it's "faces-config", not "face-config".

Despite what some people think, annotations don't always mean that you don't need a faces-config.xml file. Not everything that faces-config.xml declares have corresponding annotations. However, it sounds like you may not be properly configured for JSF annotation scanning. Since that's a NetBeans issue, you may need to ask in the IDEs forum.


Customer surveys are for companies who didn't pay proper attention to begin with.
Farhad Rahmati
Ranch Hand

Joined: Dec 16, 2010
Posts: 96
thank you very much

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Face-config.xml file can not be found in netbeans
 
Similar Threads
Doubt in struts-config.xml?
exception in jsf
Error 500: Cannot find bean EmpEntity in any scope
how to include one jsf page in another jsf page ?
Log4j Configurattion in config file