atom feed5 messages in org.apache.struts.user[Shale] error I'm getting when naviga...
FromSent OnAttachments
Rick ReumannAug 24, 2005 3:13 pm 
Rick ReumannAug 25, 2005 8:11 am 
Craig McClanahanAug 25, 2005 9:59 am 
Rick ReumannAug 25, 2005 10:30 am 
Craig McClanahanAug 25, 2005 10:40 am 
Subject:[Shale] error I'm getting when navigating.
From:Rick Reumann (stru@reumann.net)
Date:Aug 24, 2005 3:13:32 pm
List:org.apache.struts.user

I'm not sure if this error is because of the spring jars that I included (copied over from the use cases example), but when trying the following navigation rule:

<navigation-rule> <navigation-case> <from-outcome>success</from-outcome> <to-view-id>/employeeForm.jsp</to-view-id> </navigation-case> </navigation-rule>

I get the following error and I have no idea why. (Couple notes... the backing bean method first called is returning "success" and "employeeForm.jsp" is spelled correctly and does exist).

2005-08-24 18:05:27 StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exception javax.faces.FacesException: java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered? at
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:83) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:109) .... <snip>

Caused by: javax.faces.el.EvaluationException: java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered? at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:206) at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154) at
org.apache.shale.faces.ShaleViewHandler.setupViewController(ShaleViewHandler.java:224) at org.apache.shale.faces.ShaleViewHandler.createView(ShaleViewHandler.java:122) at org.apache.shale.clay.faces.ClayViewHandler.createView(ClayViewHandler.java:111) at
com.sun.faces.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:135) at
org.apache.shale.dialog.faces.DialogNavigationHandler.handleNavigation(DialogNavigationHandler.java:184) at ... <snip>

Caused by: java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered? at
org.springframework.web.jsf.FacesContextUtils.getRequiredWebApplicationContext(FacesContextUtils.java:78) at
org.springframework.web.jsf.DelegatingVariableResolver.getWebApplicationContext(DelegatingVariableResolver.java:134) at
org.springframework.web.jsf.DelegatingVariableResolver.resolveVariable(DelegatingVariableResolver.java:112) at
org.apache.shale.spring.WebApplicationContextVariableResolver.resolveVariable(WebApplicationContextVariableResolver.java:86) at
org.apache.shale.faces.ShaleVariableResolver.resolveVariable(ShaleVariableResolver.java:99) at com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:125) at
com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:243) at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:173) ... 43 more