This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ELResolvers not registered with the JSP container

 
Mike Laris
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

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.

What am I doing wrong?

Mike Laris
mglaris@gmail.com
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18273
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic