[jboss-user] [JBoss/Spring Integration] - No WebApplicationContext found: no ContextLoaderListener reg

muhwas do-not-reply at jboss.com
Mon Feb 5 15:24:51 EST 2007


Hi guys,

I have written a small Hello world service using Spring. Deploved in JBoss. I can execute the service through web browse using Axis. But when i am trying to execute this service through stand alone application i am getting following error. 

 No WebApplicationContext found: no ContextLoaderListener registered?

can somebody please help me. i have defined 

    <context-param>
        <param-name>contextConfigLocation</param-name>
        <param-value>/WEB-INF/applicationContext.xml</param-value>
    </context-param>
    
    
        <servlet-name>context</servlet-name>
        <servlet-class>
            org.springframework.web.context.ContextLoaderServlet
        </servlet-class>
        <load-on-startup>1</load-on-startup>
    

in my server web.xml

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011550#4011550

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011550



More information about the jboss-user mailing list