Never mind.  NetBeans is somehow adding the Spring jars back in when I
build the project.  Manually removing them fixed the problem and it's
navigating now.
 

-----Original Message-----
From: James Reynolds [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 03, 2006 9:55 AM
To: user@struts.apache.org
Subject: Shale Navigation Error


I've set up a very basic web app (running on tomcat 5.5.15) based on the
Shale-blank.war I downloaded on 3/1/06.  It compiles and runs, but if I
navigate to a page, it throws the error listed below.  I found some
messages in the mail archives that described a similar problem that
related to Spring integration.  I've since removed any jars that
appeared to be Spring related, but it still throws the error.  Any
ideas?
 
Thanks
 
exception 

javax.servlet.ServletException: No WebApplicationContext found: no
ContextLoaderListener registered?
        javax.faces.webapp.FacesServlet.service(FacesServlet.java:121)
        
org.apache.shale.faces.ShaleApplicationFilter.doFilter(ShaleApplicationF
ilter.java:285)
        
org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(Extensi
onsFilter.java:122)


root cause 

java.lang.IllegalStateException: No WebApplicationContext found: no
ContextLoaderListener registered?
        
org.springframework.web.jsf.FacesContextUtils.getRequiredWebApplicationC
ontext(FacesContextUtils.java:78)
        
org.springframework.web.jsf.DelegatingVariableResolver.getWebApplication
Context(DelegatingVariableResolver.java:134)
        
org.springframework.web.jsf.DelegatingVariableResolver.resolveVariable(D
elegatingVariableResolver.java:112)
        
org.apache.shale.spring.WebApplicationContextVariableResolver.resolveVar
iable(WebApplicationContextVariableResolver.java:87)
        
org.apache.shale.view.faces.ViewViewHandler.setupViewController(ViewView
Handler.java:233)
        
org.apache.shale.view.faces.ViewViewHandler.createView(ViewViewHandler.j
ava:126)
        
org.apache.shale.tiles.TilesViewHandler.createView(TilesViewHandler.java
:184)
        
org.apache.myfaces.application.NavigationHandlerImpl.handleNavigation(Na
vigationHandlerImpl.java:145)
        
org.apache.shale.dialog.faces.DialogNavigationHandler.handleNavigation(D
ialogNavigationHandler.java:193)
        
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionLi
stenerImpl.java:84)
        javax.faces.component.UICommand.broadcast(UICommand.java:106)
        
javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90)
        
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164)
        
org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleIm
pl.java:316)
        
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86
)
        javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)
        
org.apache.shale.faces.ShaleApplicationFilter.doFilter(ShaleApplicationF
ilter.java:285)
        
org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(Extensi
onsFilter.java:122)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to