What version of AppFuse are you using? If it's 2.0, do you have a
ContextLoaderListener in your web.xml. Do you have a
contextConfigLocations context-param defined?
Matt
On 5/21/07, nmall <[EMAIL PROTECTED]> wrote:
Hi,
I have my applicationContext.xml in src/main/resources. Where does the
Spring application context get loaded in appfuse. However I am getting the
following error. Thanks for your help!
[ERROR] Exception sending context initialized event to listener instance of
clas
s org.appfuse.webapp.listener.StartupListener
java.lang.IllegalStateException: No WebApplicationContext found: no
ContextLoade
rListener registered?
at
org.springframework.web.context.support.WebApplicationContextUtils.ge
tRequiredWebApplicationContext(WebApplicationContextUtils.java:84)
at
org.appfuse.webapp.listener.StartupListener.contextInitialized(Sta
rtupListener.java:52)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:3727)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4
162)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442
)
at org.apache.catalina.startup.Embedded.start(Embedded.java:821)
at
org.codehaus.mojo.tomcat.AbstractRunMojo.startContainer(AbstractRunMo
jo.java:253)
at
org.codehaus.mojo.tomcat.AbstractRunMojo.execute(AbstractRunMojo.java
:113)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:443)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:539)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
Goal(DefaultLifecycleExecutor.java:493)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:463)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:311)
--
View this message in context:
http://www.nabble.com/No-WebApplicationContext-found-tf3791115s2369.html#a10721433
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
http://raibledesigns.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]