1 of 1 people found this helpful
Does your project include /WEB-INF/web.xml file with context parameter?
File named faces-config.xml is not required to be registered in web.xml, but other named files should be. When you created second-faces-config.xml file by JBoss Tools faces config wizard, it must have added this context parameter so that it was used by content assist. Could it be that later it was removed from web.xml?
Yes I do have it (both files are included in web.xml)
Meanwhilie I found out that I have been usinng two web.xml in one project and probably the problem was in maven configuration. Maven configuration pointed to web.xml which doesn't include second-faces-config.xml.
I did small tidy up in maven configuration and now it seems it works perfect, even after restarting Eclipse.