Altug, It sounds like there is no bean factory set on your servlet context. Did you add Spring's context listener in web.xml?
Regards - Cemal jWeekend OO & Java Technologies, Wicket Training and Development http://jWeekend.com Altuğ B. Altıntaş wrote: > > How can i add ctx variable ? > > I am new in Spring Security .... > > Thanks... > > > 2009/8/28 Anders <innocentl...@gmail.com> > >> I don't see any ctx variable in that web page. >> >> >> On Fri, Aug 28, 2009 at 10:37 PM, Altuğ B. Altıntaş <alt...@gmail.com >> >wrote: >> >> > Hi all ; >> > >> > I am trying to run "Spring Security and Wicket-auth-roles" example. >> > >> > Url : >> > >> http://cwiki.apache.org/WICKET/spring-security-and-wicket-auth-roles.html >> > >> > I implemented what it writes step by step but it gives : >> > >> > java.lang.IllegalArgumentException: Argument [[ctx]] cannot be null >> > at >> > >> > >> org.apache.wicket.spring.injection.annot.SpringComponentInjector.<init>(SpringComponentInjector.java:93) >> > at com.example.web.Setup.setListeners(Setup.java:41) >> > at com.exaple.web.Setup.init(Setup.java:32) >> > at >> > >> org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:696) >> > ......... >> > >> > >> > Any idea ? Or simple simple simple Spring Security and Wicket >> integration >> > example. >> > >> > Note : >> > I remember my old commodore - 64 days. I wrote hundreds of basic code >> and >> > then it gives : syntax error :) opps urghh ! >> > >> > But still love wicket and its examples >> > >> > >> > -- >> > Altuğ. >> > >> >> >> >> -- >> ------------------ >> ~Mia は 最高!~ >> ------------------ >> > > > > -- > Altuğ. > > -- View this message in context: http://www.nabble.com/Have-you-ever-run-this-example---tp25191082p25193012.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