I am writing a JSF application under Glassfish 3.1 (Windows) and I cannot get the JSF pages to display. I am getting the following error from Glassfish:
JSF1027: [null] The ELResolvers for JSF were not registered with the JSP container.
My web.xml file is:
I have a faces-config.xml, and a sun-web.xml, and have written JSF application before, but I have been working on this for three days and I am out of ideas. I have a single managed bean, defined via annotations. I am using Java 1.6. I have not modified the jsf-api.jar,jsf-impl.jar, or the el-impl.jar in the modules directory for Glassfish. I have checked the path for other versions of the jsf/el jar files. I have fiddled around with different attributes for the web-app element in web.xml. Nothing has worked.
Doesn't look like we're any help here. You might be better off asking this in the Glassfish forum.
In Glassfish, both JSF-impl and EL-impl are part of Glassfish itself, so one possibility is that you've included one or both of them in your WAR, as you would for Tomcat (EL-impl is in Tomcat6, but not Tomcat5). That's about the best guess I can make. Normally it all handles itself.
Customer surveys are for companies who didn't pay proper attention to begin with.