This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization 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: 18014
47
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