Sorry, copied wrong anchor :( should be http://static.springframework.org/spring/docs/2.5.x/reference/beans.html#context-create
2008/12/14, Marat Radchenko <slonopotamusor...@gmail.com>: > You didn't init spring in your web.xml > See > http://static.springframework.org/spring/docs/2.5.x/reference/beans.html#beans-factory-scopes-other-web-configuration > > 2008/12/13 wicketworker <siva.mad...@gmail.com>: > > > > > I am getting the following exception while starting my jetty server : > > > > java.lang.IllegalStateException: No WebApplicationContext found: no > > ContextLoaderListener registered? > > at > > > org.springframework.web.context.support.WebApplicationContextUtils.getRequiredWebApplicationContext(WebApplicationContextUtils.java:70) > > at > > > org.apache.wicket.spring.SpringWebApplicationFactory.createApplication(SpringWebApplicationFactory.java:83) > > at > org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:543) > > at > org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97) > > at > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) > > at > > > org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:620) > > at org.mortbay.jetty.servlet.Context.startContext(Context.java:140) > > > > Basically i was able to get @SpringBean annotation working, now i am trying > > to append scope="session" to one of my bean in the spring config.. > Following > > is what i have done: > > > > In Web.xml > > --------------------------------- > > <filter> > > <filter-name>wicket.uti-webapp</filter-name> > > <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> > > <init-param> > > <param-name>applicationFactoryClassName</param-name> > > > > > <param-value>org.apache.wicket.spring.SpringWebApplicationFactory</param-value> > > </init-param> > > <init-param> > > <param-name>applicationBean</param-name> > > <param-value>wicketApplication</param-value> > > </init-param> > > </filter> > > > > <listener> > > > > > <listener-class>org.springframework.web.context.request.RequestContextListener</listener-class> > > </listener> > > > > In Spring-Config > > ------------------------ > > <bean id="wicketApplication" > > class="com.uprr.app.uti.webapp.UtiWebApplication"> > > </bean> > > > > > > Can someone please tell me whats wrong? > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > View this message in context: > http://www.nabble.com/No-WebApplicationContext-found%3A-no-ContextLoaderListener-registered--tp20984524p20984524.html > > Sent from the Wicket - User mailing list archive at Nabble.com. > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > > For additional commands, e-mail: users-h...@wicket.apache.org > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org