wood burning stoves 2.0*
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
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: 16145
    
  21

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

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Face-config.xml file can not be found in netbeans