1 Reply Latest reply on Feb 5, 2007 4:27 PM by alesj

    No WebApplicationContext found: no ContextLoaderListener reg

    muhwas

      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