• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Farhad Rahmati
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18277
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Farhad Rahmati
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you very much

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic